X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e388c13ff66e64e4266cdb216eca98970c6a8651..3bf093e9bc0b4a6057c6c287376d748eb3c78b7f:/catalogue/views.py?ds=inline 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(),