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 Michael Newman <newmaniese@…>, 17 years ago

Owner: changed from nobody to anonymous
Status: newassigned
Triage Stage: UnreviewedAccepted

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.

comment:2 by Michael Newman, 17 years ago

Owner: changed from anonymous to Michael Newman
Status: assignednew

comment:3 by Brian Rosner, 17 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #5999.

Note: See TracTickets for help on using tickets.
Back to Top