Commit 5abf58ff authored by Daniel W Bond's avatar Daniel W Bond

django.core.urlresolvers is now django.urls

parent e3e53404
# core django imports
from django import forms
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from django.urls import reverse
class UserNameForm(forms.ModelForm):
......
......@@ -2,7 +2,7 @@
from django.db import models
from django.contrib.auth.models import User
#from django.core.validators import RegexValidator
from django.core.urlresolvers import reverse
from django.urls import reverse
# third-party imports
from autoslug import AutoSlugField
from model_utils.models import TimeStampedModel
......
from django.test import TestCase
from django.http import HttpRequest
from django.core.urlresolvers import resolve
from django.urls import resolve
from .models import Student
from .views import DetailStudent, StudentRatings
......
# core django imports
from django.views.generic import DetailView, FormView
from django.core.urlresolvers import reverse
from django.urls import reverse
# third-party imports
from braces.views import LoginRequiredMixin
from django.db.models import Sum
......
# core django imports
from django.db import models
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.core.validators import RegexValidator
# third-party imports
from model_utils.models import TimeStampedModel
......
......@@ -2,7 +2,7 @@
from django.contrib import messages
from django.http import HttpResponse, HttpResponseForbidden, HttpResponseRedirect
from django.db import IntegrityError
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.utils.safestring import mark_safe
from django.views.generic import CreateView, DetailView, DeleteView
# third-party imports
......
......@@ -2,7 +2,7 @@
from datetime import date
# core django imports
from django.db import models
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.core.validators import MaxValueValidator, RegexValidator
# third party imports
from randomslugfield import RandomSlugField
......
......@@ -6,7 +6,7 @@ from django.views.generic import View, DetailView, ListView, CreateView,\
UpdateView, DeleteView
from django.http import Http404, HttpResponseForbidden
from django.forms.widgets import HiddenInput
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.core.files.uploadedfile import SimpleUploadedFile
from django.core.mail import EmailMultiAlternatives
from django.template.loader import get_template
......
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