Mercurial > sat_legacy_website
annotate settings/__init__.py @ 154:87382593e514
fix EMAIL_BACKEND setting
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 02 Nov 2017 23:48:18 +0100 |
parents | b1c16cd53b62 |
children |
rev | line source |
---|---|
149
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
1 from .settings import * |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
2 from .specific import * |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
3 |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
4 try: |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
5 from .production import * # @UnusedWildImport |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
6 except ImportError: |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
7 pass |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
8 |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
9 try: |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
10 from .actual_stats import * # @UnusedWildImport |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
11 except ImportError: |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
12 pass |
154 | 13 |
14 if DEBUG: | |
15 EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' |