Setup settings in case of Travis tests
This commit is contained in:
parent
a65a540864
commit
94b48d0085
1 changed files with 4 additions and 1 deletions
|
|
@ -153,4 +153,7 @@ INSTRUCTOR_IMPORT_MAPPING = {
|
|||
|
||||
CHARGE_SHEET_TITLE = "Feuille de charge pour l'année scolaire 2017-2018"
|
||||
|
||||
from .local_settings import *
|
||||
if 'TRAVIS' in os.environ:
|
||||
SECRET_KEY = 'secretkeyfortravistests'
|
||||
else:
|
||||
from .local_settings import *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue