jaywink /
kakaravaara3
| 1 | import sys |
||
| 2 | |||
| 3 | from pytest_django.migrations import DisableMigrations |
||
| 4 | |||
| 5 | from kakaravaara.settings.base import * |
||
|
0 ignored issues
–
show
Unused Code
introduced
by
Loading history...
|
|||
| 6 | |||
| 7 | # Quick-start development settings - unsuitable for production |
||
| 8 | # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/ |
||
| 9 | |||
| 10 | # SECURITY WARNING: keep the secret key used in production secret! |
||
| 11 | SECRET_KEY = 'wq$yp%s734opmtb56(p%r5!vfa=-n1=7mqps$xgpqr&ps5i$zu' |
||
| 12 | |||
| 13 | # SECURITY WARNING: don't run with debug turned on in production! |
||
| 14 | DEBUG = True |
||
| 15 | TEMPLATE_DEBUG = True |
||
| 16 | |||
| 17 | ALLOWED_HOSTS = [] |
||
| 18 | |||
| 19 | # INSTALLED_APPS += [ |
||
| 20 | # 'debug_toolbar', |
||
| 21 | # ] |
||
| 22 | |||
| 23 | if "test" in sys.argv[1:] or sys.argv[0].find("py.test") > -1: |
||
| 24 | MIGRATION_MODULES = DisableMigrations() |
||
| 25 | |||
| 26 | # For faster tests |
||
| 27 | PASSWORD_HASHERS = ( |
||
| 28 | 'django.contrib.auth.hashers.MD5PasswordHasher', |
||
| 29 | ) |
||
| 30 | |||
| 31 | try: |
||
| 32 | from kakaravaara.settings.local import * |
||
|
0 ignored issues
–
show
|
|||
| 33 | except ImportError: |
||
| 34 | pass |
||
| 35 |