From 26a2d4a684db273ff707428e36911741a37532f2 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 13 Feb 2022 16:48:54 -0500 Subject: main: updated to django 4.0 --- app/lttr/models.py | 2 +- app/lttr/validators.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'app/lttr') 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): -- cgit v1.2.3-70-g09d2