add a local_settings.py.example
This commit is contained in:
parent
2932566b3d
commit
2f06f7aa80
|
@ -0,0 +1,27 @@
|
||||||
|
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 authentic2.settings import INSTALLED_APPS, \
|
||||||
|
MIDDLEWARE_CLASSES
|
||||||
|
|
||||||
|
DATABASES = {
|
||||||
|
'default': {
|
||||||
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
|
'NAME': os.path.join(os.path.dirname(__file__), 'authentic2.sqlite'),
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
if DEBUG:
|
||||||
|
INSTALLED_APPS += ('debug_toolbar',)
|
||||||
|
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
|
Loading…
Reference in New Issue