Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest a fix for Django 4.x #83

Open
hadi-f90 opened this issue Jul 4, 2023 · 1 comment
Open

Suggest a fix for Django 4.x #83

hadi-f90 opened this issue Jul 4, 2023 · 1 comment

Comments

@hadi-f90
Copy link

hadi-f90 commented Jul 4, 2023

Issue:

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
@Moring
Copy link

Moring commented Jul 31, 2023

See #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants