From: Jan Szejko Date: Wed, 3 Feb 2016 11:59:40 +0000 (+0100) Subject: fix in ajax decorator X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/0620bd8f2988e98e8e097c78a35d135b02fdfd0f?ds=sidebyside;hp=--cc fix in ajax decorator --- 0620bd8f2988e98e8e097c78a35d135b02fdfd0f 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):