From 8af66eeef9ba4083d8fc63994ed2b9097c0ad46c Mon Sep 17 00:00:00 2001 From: aadilrashidd Date: Wed, 17 Apr 2024 16:59:07 +0500 Subject: [PATCH] update ugettext_lazy as _ to gettext_lazy as _ --- teachers/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teachers/admin.py b/teachers/admin.py index 0eb5b0e..791cff4 100644 --- a/teachers/admin.py +++ b/teachers/admin.py @@ -5,7 +5,7 @@ from django.contrib.auth.admin import UserAdmin from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from django.db.models import Sum from django.db.models.functions import Trunc