Commit 541210f0 authored by Patrick's avatar Patrick

Django 1.10 change in query <only()> management

parent bea9adb0
......@@ -155,11 +155,11 @@ class OrderView(ListView):
offer_item = OfferItem.objects.filter(
id=self.box_id,, is_active=True,
if offer_item is not None:
box_id = offer_item.product
box_id = offer_item.product_id
# Gogglebot is back
# A bot is back
raise Http404
product_ids = BoxContent.objects.filter(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment