Opened 17 years ago
Closed 17 years ago
#6815 closed (duplicate)
NameError: global name 'view_func' is not defined
Reported by: | Maciej Wiśniowski | Owned by: | Michael Newman |
---|---|---|---|
Component: | contrib.admin | Version: | newforms-admin |
Severity: | Keywords: | view_func | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
File django/contrib/admin/sites.py contains reference to 'view_func' that is never defined. Traceback:
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 81, in _real_get_response File "/usr/lib/python2.5/site-packages/django/contrib/admin/sites.py", line 115, in root File "/usr/lib/python2.5/site-packages/django/contrib/admin/sites.py", line 245, in login NameError: global name 'view_func' is not defined
Change History (3)
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
Note:
See TracTickets
for help on using tickets.
To be a little more specific on this error and when it occurs while I start on a patch, if a user is logged out and tries to post data to the admin they are asked to login and then this error is raised while handling the post data.