agateblue / django-dynamic-preferences

Dynamic global and instance settings for your django project
https://django-dynamic-preferences.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
350 stars 87 forks source link

RemovedInDjango41Warning: 'dynamic_preferences' defines default_app_config #290

Open tchaumeny opened 1 year ago

tchaumeny commented 1 year ago

dynamic_preferences triggers this warning:

RemovedInDjango41Warning: 'dynamic_preferences' defines default_app_config = 'dynamic_preferences.apps.DynamicPreferencesConfig'. Django now detects this configuration automatically. You can remove default_app_config.

This was removed in https://github.com/agateblue/django-dynamic-preferences/pull/262 but then that change was rollbacked (I couldn't find the reason for that rollback).

Would that be possible to handle this warning for good?

agateblue commented 1 year ago

IIRC, it broke compatibility with projects running with older django versions, hence the revert. We'll remove it entirely when Django 3 support is removed.

deronnax commented 1 year ago

for those wondering: the extended support for django 3.2 (LTS) is April 1st 2024, in 5 months from now.