52 lines
1.3 KiB
Python
52 lines
1.3 KiB
Python
|
# pymode:lint_ignore=W0401,E501
|
||
|
"""
|
||
|
Development settings and globals based on :py:mod:`gvafile.settings.base`.
|
||
|
|
||
|
"""
|
||
|
|
||
|
from __future__ import absolute_import
|
||
|
|
||
|
from .base import *
|
||
|
|
||
|
|
||
|
########## DEBUG CONFIGURATION
|
||
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#debug
|
||
|
DEBUG = True
|
||
|
|
||
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#template-debug
|
||
|
TEMPLATE_DEBUG = DEBUG
|
||
|
########## END DEBUG CONFIGURATION
|
||
|
|
||
|
|
||
|
########## EMAIL CONFIGURATION
|
||
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
|
||
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||
|
########## END EMAIL CONFIGURATION
|
||
|
|
||
|
|
||
|
########## CACHE CONFIGURATION
|
||
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#caches
|
||
|
CACHES = {
|
||
|
'default': {
|
||
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||
|
}
|
||
|
}
|
||
|
########## END CACHE CONFIGURATION
|
||
|
|
||
|
|
||
|
########## TOOLBAR CONFIGURATION
|
||
|
# See: http://django-debug-toolbar.readthedocs.org/en/latest/installation.html#explicit-setup
|
||
|
INSTALLED_APPS += (
|
||
|
'debug_toolbar',
|
||
|
)
|
||
|
|
||
|
MIDDLEWARE_CLASSES += (
|
||
|
'debug_toolbar.middleware.DebugToolbarMiddleware',
|
||
|
)
|
||
|
|
||
|
DEBUG_TOOLBAR_PATCH_SETTINGS = False
|
||
|
|
||
|
# http://django-debug-toolbar.readthedocs.org/en/latest/installation.html
|
||
|
INTERNAL_IPS = ('127.0.0.1',)
|
||
|
########## END TOOLBAR CONFIGURATION
|