This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
portail-citoyen/local_settings.py.example

28 lines
608 B
Plaintext

import os.path
DEBUG = True
if DEBUG:
DEBUG_TOOLBAR = True
TEMPLATE_DEBUG = True
DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': False,
}
INTERNAL_IPS = ('127.0.0.1',)
SECRET_KEY = 'coin'
from portail_citoyen.settings import INSTALLED_APPS, \
MIDDLEWARE_CLASSES, TEMPLATE_DIRS, STATICFILES_DIRS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(os.path.dirname(__file__), 'portail_citoyen.sqlite'),
},
}
if DEBUG:
INSTALLED_APPS += ('debug_toolbar',)
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)