Remove celery import from settings.
parent
fe5b2bbeba
commit
8e4bab5c02
|
@ -1,13 +1,10 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
import os.path, sys, os
|
import os.path, sys, os
|
||||||
import djcelery
|
|
||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||||
|
|
||||||
djcelery.setup_loader()
|
|
||||||
|
|
||||||
OUT_BASE_DIR = os.path.abspath(
|
OUT_BASE_DIR = os.path.abspath(
|
||||||
os.path.join(BASE_DIR, "..")
|
os.path.join(BASE_DIR, "..")
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue