mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-25 16:00:47 +03:00
Merge pull request #2645 from Andrew-Chen-Wang/patch-2
Update ugettext_lazy to gettext_lazy
This commit is contained in:
commit
a499101711
|
@ -1,6 +1,6 @@
|
||||||
from django.contrib.auth import forms, get_user_model
|
from django.contrib.auth import forms, get_user_model
|
||||||
from django.core.exceptions import ValidationError
|
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()
|
User = get_user_model()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user