X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/633b91cf88a2ff369d7d3dbcc8bdc3fd20cc68e9..88b3243c6edfa61660920d5a9e31f8dd77415b32:/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(),