X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c5d9a4e77a10b4e60d89d3890e49002bd7f3993..1405761d13e0ba62db4b1f9a9d5fa1472142b6d0:/apps/lessons/views.py diff --git a/apps/lessons/views.py b/apps/lessons/views.py index 242526d86..9314d1cac 100644 --- 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 -from catalogue import forms 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, - extra_context={ - 'form': forms.SearchForm(), - }) + )