Hello!

I've been using django for a while now, and been around in the
documentation and a bit in the source code as well. I have a site
setup along the lines of the tutorial, nothing fancy, a flat urls.py
and no fancy use of namespaces or anything like that.

I use django straight from subversion trunk (with no significant
trouble), and finally got around to change admin.site.root to
include(admin.site.urls) in urls.py, because site.root is going to
disappear real soon now -- but it doesn't work.

It mangles the URL in such a way in the admin application that a link
becomes longer and longer, e.g. admin/cm/device when clicked reloads
the same page and the link becomes admin/cm/device/cm/device and when
clicked again, admin/cm/device/cm/device/cm/device, and so forth
recursively.

I have searched the web and mailing lists in vain. I suspect root_path
aren't set correctly somewhere in AdminSite or that url references in
the admin application are somehow not handled correctly, but I haven't
been able to find any suspect things in the code.

Maybe somebody here knows what it is going on? It seems it cannot be
replicated. Django developers are more busy than I am, and it seems
they have no time for this sort of thing (which cannot be replicated).
However this will become a showstopper really soon now (django v1.2),
and I could really use some help on this one.

Does anybody know what's going on?

Kind regards,
Dennis Decker Jensen

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to