Opened 19 years ago
Last modified 18 years ago
#684 closed defect
[patch] Give views/decorators/auth.py a fighting chance of accomplishing something — at Version 2
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 (last modified by )
auth.py is broken. user_passes_test is not a decorator, login_required throws away its view function and calls user_passes_test with only one argument.
This patch restores a vague semblance of correctness to the code..
Change History (3)
comment:1 by , 19 years ago
Summary: | [patch] Give auth-decorators.py a fighting chance of accomplishing something → [patch] Give views/decorators/auth.py a fighting chance of accomplishing something |
---|
comment:2 by , 19 years ago
Description: | modified (diff) |
---|
by , 19 years ago
Attachment: | django-auth-decorators.patch added |
---|
Note:
See TracTickets
for help on using tickets.