Ticket #13823: root_path.diff
File root_path.diff, 625 bytes (added by , 14 years ago) |
---|
-
django/contrib/admin/sites.py
39 39 password_change_template = None 40 40 password_change_done_template = None 41 41 42 @property 43 def root_path(self): 44 return reverse('admin:index') 45 42 46 def __init__(self, name=None, app_name='admin'): 43 47 self._registry = {} # model_class class -> admin_class instance 44 self.root_path = None45 48 if name is None: 46 49 self.name = 'admin' 47 50 else: