Request URL: | http://127.0.0.1:8000/hello/ |
---|---|
Django Version: | 1.7 |
Exception Type: | ImproperlyConfigured |
Exception Value: | The included urlconf '<function hello at 0x031DDB70>' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import. |
--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/205e4901-a436-4260-8d08-aff06cd3ca3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
url(r'^hello/$', include(polls.views.hello)),
url(r'^hello/$', polls.views.hello),
thanks now when i go to the website
Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1:8000/ |
Using the URLconf defined in restaurants.urls
, Django tried these URL patterns, in this order:
The current URL, , didn't match any of these.
You're seeing this error because you have DEBUG = True
in your Django settings file. Change that to False
, and Django will display a standard 404 page.
is that how suppouse to be? or should i be getting the message that django gives at the beggining?
thanks for the help. =)