Opened 19 years ago

Last modified 18 years ago

#684 closed defect

[patch] Give auth-decorators.py a fighting chance of accomplishing something — at Initial Version

Reported by: rjwittams Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Auth decorators.py is broken. user_passes_test is not a decorator, login_required throws away its views view function and calls user_passes_test with only one argument.

This patch restores a vague semblance of correctness to the code..

Change History (0)

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