Opened 18 years ago

Closed 18 years ago

#2439 closed defect (fixed)

user_passes_test function does not work on python 2.3

Reported by: hpxchan@… Owned by: Adrian Holovaty
Component: Contrib apps Version: dev
Severity: major Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Upon accessing a view (which uses authentication) from a running server, I get a TypeError ("readonly attribute") at django/contrib/auth/decorators.py, line 18. Python 2.3 doesn't like it when you reassign name.

I'm using Python 2.3 with the latest Django from SVN (revision 3462).

Chandler

Change History (1)

comment:1 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in [3478].

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