forked from 0x2620/pandora
update celery import to work with 2.2
This commit is contained in:
parent
5509cea6dc
commit
2a3c09d0ce
7 changed files with 11 additions and 7 deletions
|
@ -1,11 +1,15 @@
|
|||
server {
|
||||
#make sure to add
|
||||
# application/json json;
|
||||
#to /etc/nginx/mime.types
|
||||
|
||||
#those need to go into /etc/nginx/nginx.conf in the http section
|
||||
#gzip on;
|
||||
#gzip_http_version 1.1;
|
||||
#gzip_vary on;
|
||||
#gzip_comp_level 6;
|
||||
#gzip_proxied any;
|
||||
#gzip_types text/plain text/css text/json text/xml application/json application/xml application/xml+rss text/javascript application/javascript;
|
||||
#gzip_types text/plain text/css application/json text/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js;
|
||||
#gzip_buffers 16 8k;
|
||||
#gzip_disable "MSIE [1-6]\.(?!.*SV1)";
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
from celery.decorators import task
|
||||
from celery.task import task
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
import datetime
|
||||
|
||||
from celery.decorators import task, periodic_task
|
||||
from celery.task import task, periodic_task
|
||||
from celery.task.schedules import crontab
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
from celery.decorators import task
|
||||
from celery.task import task
|
||||
import ox
|
||||
|
||||
from django.conf import settings
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
from datetime import timedelta
|
||||
|
||||
from celery.decorators import task, periodic_task
|
||||
from celery.task import task, periodic_task
|
||||
from celery.task.schedules import crontab
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
from datetime import timedelta
|
||||
|
||||
from celery.decorators import task, periodic_task
|
||||
from celery.task import task, periodic_task
|
||||
|
||||
import models
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
from datetime import timedelta
|
||||
|
||||
from celery.decorators import task, periodic_task
|
||||
from celery.task import task, periodic_task
|
||||
from celery.task.schedules import crontab
|
||||
|
||||
import models
|
||||
|
|
Loading…
Reference in a new issue