diff --git a/imagestore/views.py b/imagestore/views.py index 0e847f4..938b0fe 100644 --- a/imagestore/views.py +++ b/imagestore/views.py @@ -6,9 +6,7 @@ from django.shortcuts import get_object_or_404 from django.http import Http404, HttpResponseRedirect from django.conf import settings -from django.contrib.auth.models import User -from django.contrib.auth.decorators import permission_required -from django.contrib.auth.decorators import login_required +from django.contrib.auth.decorators import permission_required, login_required from django.utils.translation import ugettext_lazy as _ from django.views.generic import ListView, DetailView, CreateView, UpdateView, DeleteView from tagging.models import TaggedItem