Fixed #8577 -- Fixed a couple of indentation errors when viewing the app-index

page in admin. Patch by evenrik.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-08-27 05:22:25 +00:00
parent 3b993b2995
commit 6e51f05112
1 changed files with 17 additions and 14 deletions

View File

@ -389,6 +389,9 @@ class AdminSite(object):
if app_dict: if app_dict:
app_dict['models'].append(model_dict), app_dict['models'].append(model_dict),
else: else:
# First time around, now that we know there's
# something to display, add in the necessary meta
# information.
app_dict = { app_dict = {
'name': app_label.title(), 'name': app_label.title(),
'app_url': '', 'app_url': '',