Browse Source

Arruma o python-decouple

pull/253/head
Eduardo Calil 9 years ago
committed by Edward Ribeiro
parent
commit
1f8d10f8c2
  1. 0
      sapl/decouple.env
  2. 1
      sapl/settings.py
  3. 5
      sapl/test_config.py

0
decouple.env → sapl/decouple.env

1
sapl/settings.py

@ -18,6 +18,7 @@ from decouple import config
BASE_DIR = Path(__file__).ancestor(2)
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/

5
sapl/test_config.py

@ -0,0 +1,5 @@
from .settings import EMAIL_PORT
def test_config():
assert EMAIL_PORT == 587
Loading…
Cancel
Save