ImportError : cannot import name ‘ugettext_lazy’

This error belongs to Django versions. If you want to use Django 4.* you need to find:

from django.utils.translation import ugettext_lazy as _

and change to:

from django.utils.translation import gettext_lazy as _

Happy Coding 🙂

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)