typo==fail

This commit is contained in:
Thomas Steen Rasmussen 2016-05-14 16:28:54 +02:00
parent b55291fe8e
commit 447cf0d909

View file

@ -29,7 +29,7 @@ class ProductDetailView(LoginRequiredMixin, FormView):
context_object_name = 'product'
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):
### do we have an open order?