admin 1.1 problem

0 views
Skip to first unread message

adrian

unread,
Nov 6, 2009, 5:10:42 PM11/6/09
to Django users

I just upgraded to 1.1 and changed only the line in urls.py as
mentioned in the release notes.

Now when I go to the list of apps and models, and click on a model
name,
it recursively returns to the same page (the list of apps and models)
but at a different URL. For example, I go to:

/admin/

then I click on Users model in the Auth app and I get the same page
but it is now at this URL:

/admin/auth/user/

then I click it again and I get the same page again but the URL is:

/admin/auth/user/auth/user

and if I click on a different model it does the same thing:

/admin/auth/user/auth/user/newapp/newmodel/

The problem is there for all apps and models.

What could be wrong here? I don't have any custom admin code and it
was working in 1.0.3.
Thanks.

adrian

unread,
Nov 6, 2009, 5:37:30 PM11/6/09
to Django users
Missed a change. I had this:

(r'^admin/(.*)', include('admin.site.urls')),

which should be this:

(r'^admin/', include(admin.site.urls)),

Reply all
Reply to author
Forward
0 new messages