I have just started tutorial part 2 and in part 2.4.1.
I have added django.contrib.admin to the INTALLED_APPS part of
mysettings.py
I syncd the db
I uncommented the requierd three lines from urls.py in mysite folder
I ran the runserver, and go to 127.0.0.1:8000, using chromium
This is what I see
Page not found (404)
Request Method: GET
Request URL: http://127.0.0.1:8000/
Using the URLconf defined in mysite.urls, Django tried these URL
patterns, in this order:
^admin/
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.
If I type the url 127.0.0.1:8000/admin/
it goes to the login page.
Why do I get this message, I shouldn't have to type the url in for
admin manually, i should be able to to this from the homescreen??
Any idea's??
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 comments:
Post a Comment