summaryrefslogtreecommitdiff
path: root/app/lttr
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2022-02-13 16:48:54 -0500
committerluxagraf <sng@luxagraf.net>2022-02-13 16:48:54 -0500
commit26a2d4a684db273ff707428e36911741a37532f2 (patch)
tree4f9c3665199516378aedd409aa896e7eb909fde4 /app/lttr
parent26c7400f5651d36b84adb3971c09dcc0b275b004 (diff)
main: updated to django 4.0
Diffstat (limited to 'app/lttr')
-rw-r--r--app/lttr/models.py2
-rw-r--r--app/lttr/validators.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/app/lttr/models.py b/app/lttr/models.py
index 1efeb79..a1a0c70 100644
--- a/app/lttr/models.py
+++ b/app/lttr/models.py
@@ -5,7 +5,7 @@ from django.contrib.gis.db import models
from django.db.models.signals import post_save
from django.contrib.sites.models import Site
from django.template.loader import select_template
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
from django.utils import timezone
from django.utils.text import slugify
from django.urls import reverse
diff --git a/app/lttr/validators.py b/app/lttr/validators.py
index a6355bf..581043c 100644
--- a/app/lttr/validators.py
+++ b/app/lttr/validators.py
@@ -1,6 +1,5 @@
from django.contrib.auth import get_user_model
from django.forms.utils import ValidationError
-from django.utils.translation import ugettext_lazy as _
def validate_email_nouser(email):