Commits

mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 0325e69

Fixed #8589 -- Fixed the URL for the logout link on the app_index page in admin.

  • Participants
  • Parent commits ad3ded9

Comments (0)

Files changed (1)

File django/contrib/admin/sites.py

         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,