Wednesday, June 23, 2010

Re: root_path in admin sites is None

i have the same problem i fixed: in urls.py root proyect
before: ('^admin/(.*)', admin.site.root),

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

it work good now!!!

bye

2010/6/23 Filip Gruszczyński <gruszczy@gmail.com>
After migrating to 1.2 I encountered a problem in admin panel. My
change password ang logout links look like this:

https://example.com/admin/Nonelogout/
https://example.com/admin/Nonepassword_change/

I have taken a look into django source and it seems, that root_path is
None (at least this variable is rendered in those urls). What I might
have forgotten to set and how can I change it to an empty string?

--
Filip Gruszczyński

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment