#8577: Admin raises UnboundLocalError
--------------------------------------+-------------------------------------
Reporter: evenrik | Owner: nobody
Status: new | Milestone:
Component: Admin interface | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Comment (by evenrik):
The patch also fixes
{{{
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/django/core/handlers/base.py",
line 86, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.3/site-packages/django/contrib/admin/sites.py",
line 175, in root
return self.app_index(request, url)
File "/usr/lib/python2.3/site-packages/django/contrib/admin/sites.py",
line 401, in app_index
app_dict['models'].sort(lambda x, y: cmp(x['name'], y['name']))
KeyError: 'models'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/8577#comment:2>
Django Code <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
-~----------~----~----~----~------~----~------~--~---