X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/633b91cf88a2ff369d7d3dbcc8bdc3fd20cc68e9..3bf093e9bc0b4a6057c6c287376d748eb3c78b7f:/catalogue/views.py diff --git a/catalogue/views.py b/catalogue/views.py index 08d940164..2719884df 100644 --- a/catalogue/views.py +++ b/catalogue/views.py @@ -208,7 +208,7 @@ def fragment_sets(request, id): else: return HttpResponseRedirect('/') else: - form = forms.ObjectSetsForm(book, request.user) + form = forms.ObjectSetsForm(fragment, request.user) new_set_form = forms.NewSetForm() return render_to_response('catalogue/fragment_sets.html', locals(),