summaryrefslogtreecommitdiff
path: root/app/lttr
diff options
context:
space:
mode:
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):