#13823: admin.site.root_path is None and it is breaks admin links
---------------------------+------------------------------------------------
 Reporter:  gruszczy       |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.2       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 Since admin.site.root_path is None, this value is rendered as 'None'
 rather than empty string in admin links. This is why I have:

 {{{
 https://example.com/admin/Nonelogout/
 }}}

 which is a broken link. There is an easy workaround, that I do in urls.py:

 {{{
 admin.site.root_path = ''
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13823>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to