You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I installed django-tellme, it couldn't do migrations. because of trying to import ugettext_lazy from django.utils.translation.
Apparent Cause:
It seems that, because of unicode compatibilty of python 3.x, the name gettext_lazy is used and does the same work.
My Solution:
So, I tried to change the imports in some files from ugettext_lazy to gettext_lazy to have the migrations get done.
They were in root directory of tellme named as:
admin.py
mail.py
models.py
The text was updated successfully, but these errors were encountered:
Issue:
When I installed
django-tellme
, it couldn't do migrations. because of trying to importugettext_lazy
fromdjango.utils.translation
.Apparent Cause:
It seems that, because of unicode compatibilty of python 3.x, the name
gettext_lazy
is used and does the same work.My Solution:
So, I tried to change the imports in some files from
ugettext_lazy
togettext_lazy
to have the migrations get done.They were in root directory of tellme named as:
The text was updated successfully, but these errors were encountered: