Django 3.2 began deprecating usage of the default_app_config value in app folders in favor of automatic AppConfig discovery. The value will be completely removed in Django 4.1.
This commit conditionally checks the current Django version to omit setting the default_app_config value in Django 3.2 and newer. This removes the RemovedInDjango41Warning emitted during application startup.
RemovedInDjango41Warning: 'actstream' defines default_app_config = 'actstream.apps.ActstreamConfig'. Django now detects this configuration automatically. You can remove default_app_config.
Along with changes from #497 this should eliminate all known deprecation warnings for Django 4+ in active Django releases.
Django 3.2 began deprecating usage of the
default_app_config
value in app folders in favor of automatic AppConfig discovery. The value will be completely removed in Django 4.1.https://code.djangoproject.com/ticket/31180
This commit conditionally checks the current Django version to omit setting the
default_app_config
value in Django 3.2 and newer. This removes the RemovedInDjango41Warning emitted during application startup.Along with changes from #497 this should eliminate all known deprecation warnings for Django 4+ in active Django releases.