X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/c66b8465f48325fe5fdc0fcf600f97dcc7bb7a26..b64d44fd01d504fbcbf3a180f9e620fed6d527ed:/shop/views.py?ds=sidebyside 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):