diff --git a/cms/djangoapps/contentstore/views.py b/cms/djangoapps/contentstore/views.py index 80833a4e5f..eb634b0cdd 100644 --- a/cms/djangoapps/contentstore/views.py +++ b/cms/djangoapps/contentstore/views.py @@ -18,7 +18,8 @@ from django.core.files.temp import NamedTemporaryFile # to install PIL on MacOSX: 'easy_install http://dist.repoze.org/PIL-1.1.6.tar.gz' from PIL import Image -from django.http import HttpResponse, Http404, HttpResponseBadRequest, HttpResponseForbidden, HttpResponseServerError, HttpResponseNotFound +from django.http import HttpResponse, Http404, HttpResponseBadRequest, HttpResponseForbidden, HttpResponseServerError +from django.http import HttpResponseNotFound from django.contrib.auth.decorators import login_required from django.core.exceptions import PermissionDenied from django.core.context_processors import csrf diff --git a/cms/templates/404.html b/cms/templates/404.html index abc7d9f30f..a45a223bad 100644 --- a/cms/templates/404.html +++ b/cms/templates/404.html @@ -1,5 +1,4 @@ <%inherit file="base.html" /> -<%! from django.core.urlresolvers import reverse %> <%block name="title">Page Not Found <%block name="content"> diff --git a/cms/templates/500.html b/cms/templates/500.html index f69ff35a49..2645b0067b 100644 --- a/cms/templates/500.html +++ b/cms/templates/500.html @@ -1,5 +1,4 @@ <%inherit file="base.html" /> -<%! from django.core.urlresolvers import reverse %> <%block name="title">Server Error <%block name="content">