fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Chunks safe.
[prawokultury.git]
/
shop
/
views.py
diff --git
a/shop/views.py
b/shop/views.py
index
ef73d66
..
7c70f20
100644
(file)
--- 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):