Commit fcf96f2b authored by Chris Lamb's avatar Chris Lamb 💬

Drop django-celery; apparently we should just use celery now.

parent 4dc46b1f
Pipeline #48293 failed with stages
in 2 minutes and 34 seconds
......@@ -9,3 +9,4 @@ sqlparse==0.3.0
flake8==3.7.7
coverage==4.5.3
psycopg2-binary==2.8.2
kombu==4.5.0
from __future__ import absolute_import, unicode_literals
import os
from celery import Celery
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'trydiffoscope.settings')
app = Celery('trydiffoscope')
app.config_from_object('django.conf:settings')
app.autodiscover_tasks([])
import os
import copy
import email
import djcelery
from os.path import dirname, abspath
from celery.schedules import crontab
......@@ -11,8 +10,6 @@ from django.utils.log import DEFAULT_LOGGING
from .apps import *
from .setup_warnings import *
djcelery.setup_loader()
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = dirname(dirname(dirname(dirname(abspath(__file__)))))
......
......@@ -4,8 +4,8 @@ INSTALLED_APPS = (
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'djcelery',
'template_tests',
'trydiffoscope.api',
'trydiffoscope.container',
'trydiffoscope.compare',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment