typo==fail
This commit is contained in:
parent
b55291fe8e
commit
447cf0d909
|
@ -29,7 +29,7 @@ class ProductDetailView(LoginRequiredMixin, FormView):
|
||||||
context_object_name = 'product'
|
context_object_name = 'product'
|
||||||
|
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
self.product == Product.objects.get(id=kwargs.get('product_id'))
|
self.product = Product.objects.get(id=kwargs.get('product_id'))
|
||||||
|
|
||||||
def form_valid(self, form):
|
def form_valid(self, form):
|
||||||
### do we have an open order?
|
### do we have an open order?
|
||||||
|
|
Loading…
Reference in a new issue