From 75778344ec75ad0c5628a459a57c93a55f44786f Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 16 May 2016 21:54:25 +0200 Subject: [PATCH] missing import --- shop/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/shop/views.py b/shop/views.py index 1cffc6fd..9b9a02c3 100644 --- a/shop/views.py +++ b/shop/views.py @@ -4,6 +4,7 @@ from django.contrib.auth.mixins import LoginRequiredMixin from django.core.urlresolvers import reverse_lazy from django.db.models import Count, F from django.http import HttpResponseRedirect, Http404 +from django.shortcuts import get_object_or_404 from django.views.generic import ( View, TemplateView,