X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5c2cc5b446e8b36c5b9ae0d404abdfdc77fc0c22..90c3f004c1f250e2370c78688c2fed831cf94b5e:/apps/django_cas/decorators.py?ds=inline diff --git a/apps/django_cas/decorators.py b/apps/django_cas/decorators.py old mode 100755 new mode 100644 index 54a3734f..0bf989b9 --- 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