deprecated from django.core.urlresolvers

dj111
eric 2018-07-24 11:25:07 -04:00
parent 6538c3ef8a
commit 425f427a85
5 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
from django.utils.translation import ugettext as _
from django.contrib import admin
from django.core.urlresolvers import reverse
from django.urls import reverse
from .models import (Choice, Questionnaire, Question, QuestionSet, Subject,
RunInfo, RunInfoHistory, Answer, DBStylesheet, Landing)

View File

@ -11,7 +11,7 @@ from django.contrib.contenttypes.models import ContentType
from django.db import models
from django.db.models.signals import post_save
from django.utils.translation import ugettext_lazy as _
from django.core.urlresolvers import reverse
from django.urls import reverse
from . import QuestionChoices
from .utils import split_numal

View File

@ -1,5 +1,5 @@
from django.db import models
from django.core.urlresolvers import reverse
from django.urls import reverse
from transmeta import TransMeta
class Page(models.Model):

View File

@ -1,7 +1,7 @@
#!/usr/bin/python
from django import template
from django.core.urlresolvers import reverse
from django.urls import reverse
register = template.Library()

View File

@ -10,7 +10,7 @@ from uuid import uuid4
from django.apps import apps
from django.http import HttpResponse, HttpResponseRedirect
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.core.cache import cache
from django.contrib.auth.decorators import login_required, permission_required
from django.shortcuts import render, get_object_or_404