mirror of https://github.com/interlegis/sigi.git
Marcio Mazza
10 years ago
4 changed files with 39 additions and 37 deletions
@ -0,0 +1,7 @@ |
|||||
|
try: |
||||
|
from prod import * |
||||
|
except ImportError: |
||||
|
from warnings import warn |
||||
|
msg = "You don't have a production settings file, using development settings." |
||||
|
warn(msg, category=ImportWarning) |
||||
|
from dev import * |
@ -0,0 +1,26 @@ |
|||||
|
from base import * |
||||
|
|
||||
|
|
||||
|
# SECURITY WARNING: keep the secret key used in production secret! |
||||
|
SECRET_KEY = '0$ip1fb5xtq%a=)-k_4r^(#jn0t^@+*^kihkxkozg-mip7+w3+' |
||||
|
|
||||
|
DATABASES = { |
||||
|
'default': { |
||||
|
'ENGINE': 'django.db.backends.sqlite3', |
||||
|
'NAME': os.path.join(BASE_DIR, 'sigi.db'), |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
# SECURITY WARNING: don't run with debug turned on in production! |
||||
|
DEBUG = True |
||||
|
TEMPLATE_DEBUG = DEBUG |
||||
|
|
||||
|
INSTALLED_APPS += ( |
||||
|
'debug_toolbar', |
||||
|
) |
||||
|
|
||||
|
CACHES = { |
||||
|
'default': { |
||||
|
'BACKEND': 'django.core.cache.backends.dummy.DummyCache', |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue