Преглед изворни кода

Import timedelta_seconds from utils.timeutils not utils.

Ask Solem пре 15 година
родитељ
комит
1e9ec0f092
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      celery/backends/cache.py

+ 1 - 1
celery/backends/cache.py

@@ -6,7 +6,7 @@ from django.core.cache import cache, get_cache
 from django.core.cache.backends.base import InvalidCacheBackendError
 
 from celery import conf
-from celery.utils import timedelta_seconds
+from celery.utils.timeutils import timedelta_seconds
 from celery.backends.base import KeyValueStoreBackend
 
 # CELERY_CACHE_BACKEND overrides the django-global(tm) backend settings.