python - Syntax Error in Django urls.py -


I have a disappointing time to install a very simple dishes website, as long as I set up my urls.py Everything is recovering by then: importing django.conf.urls.defaults from <

  import from django.contrib import admin from timsrecipes.recipes View. Autodiscover () urlpatterns = Pattern ('', 'r' ^ index / $ ', views.index), (R' search / $ ', views.search), (r' ^ ingredientsearch / $ 'database containing recipes , Valid and synchronized, l When I try to access any webpage, I get the following error message:  

Exception value: ('invalid syntax', ('/ user / my / programming- startup / timerspipes / ... timassesips / recipes / approach_ ', 13, 10,')) \ n '))

Exceptional location: / users / my / programming -startup / timerspips /../timsrecipes/urls In py, line 3

I can not really see the syntax error here Or many went by my other small websites with the same formula to import their ideas, so I can be what not having that problem understanding.

exception is not in urls.py, it is in recipes / views.py, line 13

Comments