Author: mtredinnick
Date: 2008-08-27 02:27:09 -0500 (Wed, 27 Aug 2008)
New Revision: 8617

Modified:
   django/trunk/django/contrib/admin/sites.py
Log:
Fixed #8589 -- Fixed the URL for the logout link on the app_index page in admin.


Modified: django/trunk/django/contrib/admin/sites.py
===================================================================
--- django/trunk/django/contrib/admin/sites.py  2008-08-27 07:19:44 UTC (rev 
8616)
+++ django/trunk/django/contrib/admin/sites.py  2008-08-27 07:27:09 UTC (rev 
8617)
@@ -404,7 +404,8 @@
         app_dict['models'].sort(lambda x, y: cmp(x['name'], y['name']))
         context = {
             'title': _('%s administration' % capfirst(app_label)),
-            'app_list': [app_dict]
+            'app_list': [app_dict],
+            'root_path': self.root_path,
         }
         context.update(extra_context or {})
         return render_to_response(self.app_index_template or 
'admin/app_index.html', context,


--~--~---------~--~----~------------~-------~--~----~
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