X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b0d77fd4dd2b177e77e2bb038a5864567adfd9df..c89776c783212b4e1ed572854bcf4308462d8b82:/apps/django_cas/decorators.py diff --git a/apps/django_cas/decorators.py b/apps/django_cas/decorators.py index 54a3734f..0bf989b9 100644 --- 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