Re: tutorial 2 admin site problem

2012-01-27 Thread Alexandru Moldovan
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 wrote: > You can replace: > > url(r'^admin/', include(admin.site.urls)), >> > with: > > url(r'^/', include(admin.site.urls)), >> > in your *urls.py* if yo

Re: tutorial 2 admin site problem

2012-01-18 Thread Sandro Dutra
'Cause you only reproduce the steps and don't try to understand what's happening. In URLS file you'll see the administration is pointed to '^admin/', so you'll acess the administration via www.yoursite.com/admin, in your case, running on localhost and port 8000 localhost:8000/admin, it's obvious yo

Re: tutorial 2 admin site problem

2012-01-18 Thread Denis Darii
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 wrote: > Hi, > > I have just started tutori

tutorial 2 admin site problem

2012-01-18 Thread Krondaj
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