X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/1331b925542ab5446c6df901f249fb8b71b078a7..b64d44fd01d504fbcbf3a180f9e620fed6d527ed:/shop/views.py?ds=inline diff --git a/shop/views.py b/shop/views.py index ef73d66..7c70f20 100644 --- a/shop/views.py +++ b/shop/views.py @@ -38,7 +38,7 @@ class OfferDetailView(FormView): ctx['entry'] = self.object.entry return ctx - def get_form(self, form_class): + def get_form(self, form_class=OrderForm): return form_class(self.object, self.request.POST) def form_valid(self, form):