From 0620bd8f2988e98e8e097c78a35d135b02fdfd0f Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 3 Feb 2016 12:59:40 +0100 Subject: [PATCH] fix in ajax decorator --- src/wolnelektury/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wolnelektury/utils.py b/src/wolnelektury/utils.py index 971707030..2ce231b1a 100644 --- a/src/wolnelektury/utils.py +++ b/src/wolnelektury/utils.py @@ -57,7 +57,7 @@ class AjaxError(Exception): pass -def ajax(login_required=True, method=None, template=None, permission_required=None): +def ajax(login_required=False, method=None, template=None, permission_required=None): def decorator(fun): @wraps(fun) def ajax_view(request): -- 2.20.1