fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Publication button works, but need better error messages.
[redakcja.git]
/
apps
/
django_cas
/
decorators.py
diff --git
a/apps/django_cas/decorators.py
b/apps/django_cas/decorators.py
old mode 100755
(executable)
new mode 100644
(file)
index
54a3734
..
0bf989b
--- a/
apps/django_cas/decorators.py
+++ b/
apps/django_cas/decorators.py
@@
-12,6
+12,7
@@
from django.utils.http import urlquote
__all__ = ['login_required', 'permission_required', 'user_passes_test']
+
def user_passes_test(test_func, login_url=None,
redirect_field_name=REDIRECT_FIELD_NAME):
"""Replacement for django.contrib.auth.decorators.user_passes_test that