fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i18n en
[wolnelektury.git]
/
apps
/
lessons
/
views.py
diff --git
a/apps/lessons/views.py
b/apps/lessons/views.py
index
242526d
..
9314d1c
100644
(file)
--- a/
apps/lessons/views.py
+++ b/
apps/lessons/views.py
@@
-3,7
+3,6
@@
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django.views.generic.list_detail import object_detail
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django.views.generic.list_detail import object_detail
-from catalogue import forms
from lessons import models
from lessons import models
@@
-17,6
+16,4
@@
def document_detail(request, slug):
slug_field='slug',
queryset=models.Document.objects.all(),
template_name=template_name,
slug_field='slug',
queryset=models.Document.objects.all(),
template_name=template_name,
- extra_context={
- 'form': forms.SearchForm(),
- })
+ )