django-orchestra/orchestra/conf/devel_settings.py

29 lines
671 B
Python
Raw Normal View History

2014-05-08 16:59:35 +00:00
import sys
from orchestra.conf.base_settings import *
DEBUG = True
TEMPLATE_DEBUG = True
CELERY_SEND_TASK_ERROR_EMAILS = False
# When DEBUG is enabled Django appends every executed SQL statement to django.db.connection.queries
# this will grow unbounded in a long running process environment like celeryd
if "celeryd" in sys.argv or 'celeryev' in sys.argv or 'celerybeat' in sys.argv:
DEBUG = False
# Django debug toolbar
2014-10-17 10:04:47 +00:00
INSTALLED_APPS += (
'debug_toolbar',
'django_nose',
)
2014-05-08 16:59:35 +00:00
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
2014-10-17 10:04:47 +00:00
INTERNAL_IPS = (
'127.0.0.1',
'10.0.3.1',
)
2014-10-04 17:40:13 +00:00
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'