Set CELERY_ALWAYS_EAGER to True on the development setting file.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -2,20 +2,21 @@ from __future__ import absolute_import, unicode_literals
|
|||||||
|
|
||||||
from . import * # NOQA
|
from . import * # NOQA
|
||||||
|
|
||||||
DEBUG = True
|
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['*']
|
ALLOWED_HOSTS = ['*']
|
||||||
|
|
||||||
TEMPLATES[0]['OPTIONS']['loaders'] = (
|
DEBUG = True
|
||||||
'django.template.loaders.filesystem.Loader',
|
|
||||||
'django.template.loaders.app_directories.Loader',
|
CELERY_ALWAYS_EAGER = True
|
||||||
)
|
CELERY_EAGER_PROPAGATES_EXCEPTIONS = CELERY_ALWAYS_EAGER
|
||||||
|
|
||||||
INSTALLED_APPS += (
|
INSTALLED_APPS += (
|
||||||
'rosetta',
|
'rosetta',
|
||||||
'django_extensions',
|
'django_extensions',
|
||||||
)
|
)
|
||||||
|
|
||||||
WSGI_AUTO_RELOAD = True
|
TEMPLATES[0]['OPTIONS']['loaders'] = (
|
||||||
|
'django.template.loaders.filesystem.Loader',
|
||||||
|
'django.template.loaders.app_directories.Loader',
|
||||||
|
)
|
||||||
|
|
||||||
CELERY_EAGER_PROPAGATES_EXCEPTIONS = CELERY_ALWAYS_EAGER
|
WSGI_AUTO_RELOAD = True
|
||||||
|
|||||||
@@ -2,14 +2,14 @@ from __future__ import absolute_import, unicode_literals
|
|||||||
|
|
||||||
from .development import * # NOQA
|
from .development import * # NOQA
|
||||||
|
|
||||||
INSTALLED_APPS += (
|
|
||||||
'debug_toolbar',
|
|
||||||
)
|
|
||||||
|
|
||||||
# Stop debug toolbar patching!
|
# Stop debug toolbar patching!
|
||||||
# see https://github.com/django-debug-toolbar/django-debug-toolbar/issues/524
|
# see https://github.com/django-debug-toolbar/django-debug-toolbar/issues/524
|
||||||
DEBUG_TOOLBAR_PATCH_SETTINGS = False
|
DEBUG_TOOLBAR_PATCH_SETTINGS = False
|
||||||
|
|
||||||
WSGI_AUTO_RELOAD = True
|
INSTALLED_APPS += (
|
||||||
|
'debug_toolbar',
|
||||||
|
)
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = ('debug_toolbar.middleware.DebugToolbarMiddleware',) + MIDDLEWARE_CLASSES
|
MIDDLEWARE_CLASSES = (
|
||||||
|
'debug_toolbar.middleware.DebugToolbarMiddleware',
|
||||||
|
) + MIDDLEWARE_CLASSES
|
||||||
|
|||||||
Reference in New Issue
Block a user