Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default_app_config deprecation #221

Merged
merged 1 commit into from Jul 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion django_celery_results/__init__.py
Expand Up @@ -7,6 +7,8 @@

from collections import namedtuple

import django

__version__ = '2.2.0'
__author__ = 'Asif Saif Uddin, Ask Solem'
__contact__ = 'auvipy@gmai.com, ask@celeryproject.org'
Expand All @@ -30,4 +32,5 @@

__all__ = []

default_app_config = 'django_celery_results.apps.CeleryResultConfig'
if django.VERSION < (3, 2):
default_app_config = 'django_celery_results.apps.CeleryResultConfig'