#13823: Regression from 1.2.1: admin.site.root_path is None and it is breaks 
admin
links
----------------------------------------+-----------------------------------
          Reporter:  gruszczy           |         Owner:  jacmkno
            Status:  new                |     Milestone:         
         Component:  Uncategorized      |       Version:  1.2    
        Resolution:                     |      Keywords:         
             Stage:  Ready for checkin  |     Has_patch:  1      
        Needs_docs:  0                  |   Needs_tests:  1      
Needs_better_patch:  0                  |  
----------------------------------------+-----------------------------------
Changes (by jacmkno):

  * has_patch:  0 => 1
  * needs_tests:  0 => 1
  * stage:  Accepted => Ready for checkin

Comment:

 It seems the problem is that the root_path attribute was not being
 assigned anywhere but in the constructor with a value of None. I changed
 the attribute to a property that returns reverse('admin:index') which is
 the expected value, so there is no need to assign the attribute anymore.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13823#comment:2>
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