X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f29c8cb6c8bb788fe4dcd93f59dee829d1281c69..905f7fa0606b3218402df703ffac8bf6f825dde1:/src/wolnelektury/utils.py?ds=sidebyside 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):