mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-23 22:59:30 +00:00
Basic upgrade to all base packages, Django, Celery and others.
This commit is contained in:
@@ -70,6 +70,7 @@ class CachedDocumentManager(models.Manager):
|
||||
logger.debug('Requesting URL: %s' % url)
|
||||
|
||||
try:
|
||||
print doc_key
|
||||
doc = super(CachedDocumentManager, self).get_query_set().get(pk=doc_key)
|
||||
created = False
|
||||
except self.model.DoesNotExist:
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
from django.conf import settings
|
||||
import logging
|
||||
from datetime import datetime, timedelta
|
||||
from celery.decorators import task
|
||||
|
||||
from celery.task import task
|
||||
|
||||
from eve_proxy.models import CachedDocument, ApiAccessLog
|
||||
|
||||
@task(ignore_result=True)
|
||||
|
||||
Reference in New Issue
Block a user