Abba Haruna
2018-11-26 13:34:36 UTC
if settings.DEBUG:
# urlpatterns += patterns('',
# ('media/(?P.*)',
# 'django.views.static.serve',
# {'document_root': settings.MEDIA_ROOT}))
this is the result
File "C:\Users\Abba\Desktop\rest_picker\restaurants\urls.py", line 22
if settings.DEBUG:
^
SyntaxError: invalid syntax
# urlpatterns += patterns('',
# ('media/(?P.*)',
# 'django.views.static.serve',
# {'document_root': settings.MEDIA_ROOT}))
this is the result
File "C:\Users\Abba\Desktop\rest_picker\restaurants\urls.py", line 22
if settings.DEBUG:
^
SyntaxError: invalid syntax
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9f08ad47-6d28-44ef-ba8c-7bfbb9aca8be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9f08ad47-6d28-44ef-ba8c-7bfbb9aca8be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.