forgot to return a response
This commit is contained in:
parent
d2fae2480a
commit
65b6465b40
|
@ -30,6 +30,7 @@ class ProductDetailView(LoginRequiredMixin, FormView):
|
|||
|
||||
def get(self, request, *args, **kwargs):
|
||||
self.product = Product.objects.get(pk=kwargs.get('pk'))
|
||||
return self.render_to_response(self.get_context_data())
|
||||
|
||||
def form_valid(self, form):
|
||||
### do we have an open order?
|
||||
|
|
Loading…
Reference in a new issue