django2.2: relpace django.core.urlresolvers by django.urls

This commit is contained in:
2019-10-06 13:28:56 +02:00
parent be855c6c90
commit 2616e8b24c
39 changed files with 40 additions and 40 deletions

View File

@ -26,7 +26,7 @@ from django.db import models
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from django.core.exceptions import ValidationError
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.utils import timezone
from django.utils.functional import cached_property

View File

@ -28,7 +28,7 @@ from django.views.generic import ListView, DetailView, RedirectView
from django.views.generic.edit import UpdateView, CreateView, DeleteView
from django.views.generic.detail import SingleObjectMixin
from django.utils.translation import ugettext_lazy as _
from django.core.urlresolvers import reverse_lazy
from django.urls import reverse_lazy
from django.utils import timezone, html
from django.conf import settings
from django import forms