fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
029fd91
)
fix in ajax decorator
author
Jan Szejko
<j-sz@o2.pl>
Wed, 3 Feb 2016 11:59:40 +0000
(12:59 +0100)
committer
Jan Szejko
<j-sz@o2.pl>
Wed, 3 Feb 2016 11:59:40 +0000
(12:59 +0100)
src/wolnelektury/utils.py
patch
|
blob
|
history
diff --git
a/src/wolnelektury/utils.py
b/src/wolnelektury/utils.py
index
9717070
..
2ce231b
100644
(file)
--- a/
src/wolnelektury/utils.py
+++ b/
src/wolnelektury/utils.py
@@
-57,7
+57,7
@@
class AjaxError(Exception):
pass
-def ajax(login_required=
Tru
e, method=None, template=None, permission_required=None):
+def ajax(login_required=
Fals
e, method=None, template=None, permission_required=None):
def decorator(fun):
@wraps(fun)
def ajax_view(request):