Python - How to import 'gettext_lazy' -- django
Import gettext_lazy
To import gettext_lazy, Add the following line to the top of your code.
from django.utils.translation import gettext_lazy
For more information about gettext_lazy:
django gettext_lazy