Did you declared a super user when you've created the database for the first time from you app?
On Wed, Jan 18, 2012 at 12:39 PM, Denis Darii <denis.da...@gmail.com> wrote: > You can replace: > > url(r'^admin/', include(admin.site.urls)), >> > with: > > url(r'^/', include(admin.site.urls)), >> > in your *urls.py* if you really want to have the admin at /. But are you > aware of what this implies? > > > On Wed, Jan 18, 2012 at 12:31 PM, Krondaj <c.d.smi...@gmail.com> wrote: > >> Hi, >> >> 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+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> >> > > > -- > This e-mail and any file transmitted with it is intended only for the > person or entity to which is addressed and may contain information that is > privileged, confidential or otherwise protected from disclosure. Copying, > dissemination or use of this e-mail or the information herein by anyone > other than the intended recipient is prohibited. If you are not the > intended recipient, please notify the sender immediately by return e-mail, > delete this communication and destroy all copies. > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.