[patch] Give views/decorators/auth.py a fighting chance of accomplishing something
|Reported by:||rjwittams||Owned by:||Adrian Holovaty|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||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 (4)
comment:1 Changed 11 years ago by
|Summary:||[patch] Give auth-decorators.py a fighting chance of accomplishing something → [patch] Give views/decorators/auth.py a fighting chance of accomplishing something|