Support Django 4.0 and Releasing a new version
Thorbenl opened this issue · 3 comments
Thorbenl commented
Hello!
First and foremost, thanks for this package. We are looking to upgrade to Django 4.0, but run into these issues:
I have seen these deprecation warnings
venv/lib/python3.9/site-packages/django/apps/registry.py:91: RemovedInDjango41Warning: 'oidc_provider' defines default_app_config = 'oidc_provider.apps.OIDCProviderConfig'. Django now detects this configuration automatically. You can remove default_app_config.**
and
File "/venv/lib/python3.9/site-packages/oidc_provider/models.py", line 9, in <module>
from django.utils.translation import ugettext_lazy as _
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (venv/lib/python3.9/site-packages/django/utils/translation/__init__.py)
have been addressed in current develop. Could you make a release? Or is there any plan for it?
Best regards
:)
tasdendu commented
Any fix for following yet?
File "/venv/lib/python3.9/site-packages/oidc_provider/models.py", line 9, in <module>
from django.utils.translation import ugettext_lazy as _
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (venv/lib/python3.9/site-packages/django/utils/translation/__init__.py)
juanifioren commented
Version v0.8.0
is supporting Django 4.