fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
description scroll fix, whitespace
[wolnelektury.git]
/
apps
/
lessons
/
views.py
diff --git
a/apps/lessons/views.py
b/apps/lessons/views.py
index
69380d6
..
242526d
100644
(file)
--- a/
apps/lessons/views.py
+++ b/
apps/lessons/views.py
@@
-11,7
+11,7
@@
def document_detail(request, slug):
template_name = 'lessons/document_detail.html'
if request.is_ajax():
template_name = 'lessons/ajax_document_detail.html'
template_name = 'lessons/document_detail.html'
if request.is_ajax():
template_name = 'lessons/ajax_document_detail.html'
-
+
return object_detail(request,
slug=slug,
slug_field='slug',
return object_detail(request,
slug=slug,
slug_field='slug',