Update ugettext_lazy to gettext_lazy in models.py

This commit is contained in:
Andrew Chen Wang 2020-06-30 10:13:51 -04:00 committed by GitHub
parent 21c5b78714
commit 53e2ba2a66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
from django.contrib.auth.models import AbstractUser from django.contrib.auth.models import AbstractUser
from django.db.models import CharField from django.db.models import CharField
from django.urls import reverse from django.urls import reverse
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import gettext_lazy as _
class User(AbstractUser): class User(AbstractUser):