Django-celery-beat: Django deprecation warning

Created on 11 May 2021  路  4Comments  路  Source: celery/django-celery-beat

Django 3.2.2 produces deprecation warning on launch

  • Celery Version: 5.0.5
  • Celery-Beat Version: 2.0.2

"RemovedInDjango41Warning: 'django_celery_beat' defines default_app_config = 'django_celery_beat.apps.BeatConfig'. Django now detects this configuration automatically. You can remove default_app_config.
app_config = AppConfig.create(entry)"

Most helpful comment

yes

All 4 comments

Would it make sense to conditionally define default_app_config depending on Django's version ?

yes

fixed

Was this page helpful?
0 / 5 - 0 ratings