Skip to content

Commit 146e65a

Browse files
committed
Remove code for older Django versions
1 parent b8dd925 commit 146e65a

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

django_celery_results/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
import re
88
from collections import namedtuple
99

10-
import django
11-
1210
__version__ = '2.5.1'
1311
__author__ = 'Asif Saif Uddin, Ask Solem'
1412
__contact__ = 'auvipy@gmail.com'
@@ -31,6 +29,3 @@
3129
del re
3230

3331
__all__ = []
34-
35-
if django.VERSION < (3, 2):
36-
default_app_config = 'django_celery_results.apps.CeleryResultConfig'

t/proj/settings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@
168168

169169
USE_I18N = True
170170

171-
USE_L10N = True
172-
173171
USE_TZ = True
174172
DJANGO_CELERY_RESULTS_TASK_ID_MAX_LENGTH = 191
175173

0 commit comments

Comments
 (0)