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

Make django-suit compatible with Django 4.x.x #790

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

Abdurahman-hassan
Copy link

In this commit an error:

"django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'suit.templatetags.suit_menu': cannot import name 'ugettext_lazy' from 'django.utils.translation' python3.10/site-packages/django/utils/translation/init.py"

has been fixed and now django-suit is compatible with Django version 4 by importing the gettext_lazy in admin_filters and menu files

In this commit an error:

"django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'suit.templatetags.suit_menu': cannot import name 'ugettext_lazy' from 'django.utils.translation' python3.10/site-packages/django/utils/translation/__init__.py"

has been fixed and now django-suit is compatible with Django  version 4 by importing  the gettext_lazy in admin_filters and menu files
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

Successfully merging this pull request may close these issues.

1 participant