On Fri, Oct 5, 2012 at 9:18 AM, Dae_James <[email protected]> wrote:
> I created a new django project and did the following three things:
> 1, Uncomment "django.contrib.admin" in the INSTALLED_APPS setting.
> 2, Run python manage.py syncdb. Since you have added a new application to
> INSTALLED_APPS, the database tables need to be updated.
> 3, Edit your mysite/urls.py file and uncomment the lines that reference the
> admin – there are three lines in total to uncomment.
>
> And then typed in "python manage.py runserver" to start server.
>
> After all this, when I visit http://127.0.0.1:8000/admin/ , welcome site
> displayed instead of the admin site.
> What's the matter, please ? I'm a new hand to django.
>

Can you show your urls? I expect the one for 'welcome site' matches
the url for the admin site before the admin url is tested, and so is
routed there instead.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to