Merge pull request #2645 from Andrew-Chen-Wang/patch-2

Update ugettext_lazy to gettext_lazy
This commit is contained in:
Bruno Alla 2020-06-29 21:43:10 +01:00 committed by GitHub
commit a499101711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
from django.contrib.auth import forms, get_user_model
from django.core.exceptions import ValidationError
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
User = get_user_model()