Using trunk with apache + mod_wsgi, Hi, i also have url problems with admin. First of all, if i use the depreciated method(r'^admin/(.*)', admin.site.root) everything works fine.
Well, since there is a new method, i switched to it; using (r'^admin/', include(admin.site.urls)). The problem is on www.mydomain.com/admin/ the links for "change password" and "logout" (by default on the top right) are corrupt. For instance, change password link reads http://www.mydomain.com/admin/admin/password_change/ it seems that the url is formed by appending "admin/password_change/" to the current page's url, rather than appending to site root. The problem can be found on each page inside admin, for instance on users page (http://www.mydomain.com/admin/auth/user/) the link for change password reads http://www.mydomain.com/admin/auth/user/admin/password_change/ see the pattern? i could not figure out what is causing the problem, any idea/pointer truely appreciated On Jul 10, 6:16 pm, Russell Keith-Magee <freakboy3...@gmail.com> wrote: > On Fri, Jul 10, 2009 at 10:33 PM, huw_at1<huwdjo...@gmail.com> wrote: > > That isn't what the release notes say - the new form for theadminincludes is: > > (r'^admin/', include(admin.site.urls)), > > Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---