Replaced ugettext and ugettext_lazy with gettext and gettext_lazy
ugettext and ugettext_lazy were deprecated in Django 3 and will be removed in Django 4.
This commit is contained in:
1 parent
14c2a50503
commit
d7e2acff34
26 files changed
+86
-86
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from django.core.validators import RegexValidator
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
DAVNumberValidator = RegexValidator(r'^'
|
||||
|
||||
Reference in new issue
Block a user