Closed barseghyanartur closed 1 year ago
Work in-progress in the feature/add-django41-support branch.
All tests seem to pass. I'm going to test it more extensively tomorrow and if all goes well, release a new version tested with Python 3.10, 3.11 and Django 4.1.
Released in 0.19.6.
@barseghyanartur Hi, we still have deprecationwarnings on django-fobi for those lines:
$ poetry run python3 -Wa src/website/manage.py check
[...]
/home/me/proejct/.venv/lib/python3.10/site-packages/django/apps/registry.py:91: RemovedInDjango41Warning: 'fobi.contrib.plugins.form_elements.content.content_video' defines default_app_config = 'fobi.contrib.plugins.form_elements.content.content_video.apps.Config'. Django now detects this configuration automatically. You can remove default_app_config.
[...]
Are you gonna remove those default_app_config
lines?
@corentinbettiol:
At some point. It doesn't stand in the way, so I'm not hesitant to remove it. Moreover, this library supports a wide range of Django versions, some of which are still dependent on the presence of the setting. Therefore, it's not on the road-map.
For all the apps I get this warning: RemovedInDjango41Warning: 'fobi.contrib.plugins.form_elements.content.content_image' defines default_app_config = 'fobi.contrib.plugins.form_elements.content.content_image.apps.Config'. Django now detects this configuration automatically. You can remove default_app_config.
This behaviour is since Django 3.2.