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.
2013-04-11 14:54:18 +02:00
|
|
|
import os.path
|
|
|
|
|
2013-04-11 14:45:05 +02:00
|
|
|
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'
|
|
|
|
|
2013-04-11 15:51:10 +02:00
|
|
|
from compte_agglo_montpellier.settings import INSTALLED_APPS, \
|
2013-05-16 18:42:22 +02:00
|
|
|
MIDDLEWARE_CLASSES
|
2013-04-11 15:51:10 +02:00
|
|
|
|
2013-04-11 14:45:05 +02:00
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
2013-04-11 14:54:18 +02:00
|
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
2013-04-11 15:16:07 +02:00
|
|
|
'NAME': os.path.join(os.path.dirname(__file__), 'compte_agglo.sqlite'),
|
2013-04-11 14:45:05 +02:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
if DEBUG:
|
|
|
|
INSTALLED_APPS += ('debug_toolbar',)
|
|
|
|
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
|