Chunks safe.
[prawokultury.git] / shop / views.py
index ef73d66..7c70f20 100644 (file)
@@ -38,7 +38,7 @@ class OfferDetailView(FormView):
         ctx['entry'] = self.object.entry
         return ctx
 
         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):
         return form_class(self.object, self.request.POST)
 
     def form_valid(self, form):