Django not recognizing django admin urls
Posted
by colorfulgrayscale
on Stack Overflow
See other posts from Stack Overflow
or by colorfulgrayscale
Published on 2010-06-12T04:05:37Z
Indexed on
2010/06/12
4:12 UTC
Read the original article
Hit count: 992
I just registered my models my models with django admin. I navigate to the django admin at /admin. I log in sucessfully and I can see all my models. great so far.
But now if I try to click one of the links, for Ex: 'users', django gives me a 404 saying
The current URL, admin/auth/user/, didn't match any of these.
Its really weird because in my urls.py I have it mapped correctly
(r'^admin/', include(admin.site.urls)),
I have all the required middleware enabled and have these in my installed apps
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
anyone have any idea? Thanks.
© Stack Overflow or respective owner