Admin raises UnboundLocalError
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 392, in app_index
app_dict = {
UnboundLocalError: local variable 'model_dict' referenced before assignment
Code added in [8474] for #1390 produced this error. The untested patch should fix this.
Change History
(6)
Summary: |
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 392, in app_index
app_dict = {
Admin raises UnboundLocalError → Admin raises UnboundLocalError
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
The patch also fixes