Import URL functions from django.urls

This commit is contained in:
David Taylor
2017-12-02 23:30:24 +00:00
parent 76ceb15000
commit 8872084cab
8 changed files with 9 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
from django.core.exceptions import PermissionDenied
from django.http.response import HttpResponseRedirect
from django.http import HttpResponse
from django.core.urlresolvers import reverse_lazy, reverse, NoReverseMatch
from django.urls import reverse_lazy, reverse, NoReverseMatch
from django.views import generic
from django.db.models import Q
from django.shortcuts import get_object_or_404