TG-124 : Modifications de la Base et adapation du code
This commit is contained in:
@ -31,7 +31,6 @@ class Config:
|
||||
CAS_LOGIN_ROUTE = "/login"
|
||||
CAS_LOGOUT_ROUTE = "/logout"
|
||||
CAS_VALIDATE_ROUTE = "/serviceValidate"
|
||||
BASE_RESSOURCES_DIR = "/OLA_RESSOURCES/"
|
||||
MAILER = True
|
||||
|
||||
|
||||
@ -44,7 +43,6 @@ class Debug(Config):
|
||||
DEBUG = True
|
||||
SESSION_COOKIE_SECURE = False
|
||||
SQLALCHEMY_DATABASE_URI = 'mysql://ola:XXX@localhost/OLA'
|
||||
BASE_RESSOURCES_DIR = os.path.abspath(os.path.dirname(__file__))+"/OLA_RESSOURCES/"
|
||||
|
||||
|
||||
class Test(Config):
|
||||
@ -52,5 +50,4 @@ class Test(Config):
|
||||
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
|
||||
SQLALCHEMY_DATABASE_URI = \
|
||||
'sqlite:///' + os.path.join(BASE_DIR, '../test.db')
|
||||
BASE_RESSOURCES_DIR = os.path.abspath(os.path.dirname(__file__))+"/OLA_RESSOURCES/"
|
||||
MAILER = False
|
||||
|
Reference in New Issue
Block a user