X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f29c8cb6c8bb788fe4dcd93f59dee829d1281c69..094d2cac12054199fefa2dc35bb4a52d74afc5ae:/src/wolnelektury/utils.py 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):