Turned off CSRF token for testing

This commit is contained in:
mike cullerton 2021-04-13 12:08:03 -04:00
parent feff3f4e6b
commit d8552b4955
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ DEVELOPMENT = True
TESTING = True
SQLALCHEMY_DATABASE_URI = environ.get('SQLALCHEMY_DATABASE_URI', default="sqlite:///app.db")
SECRET_KEY = 'a really really really really long secret key'
WTF_CSRF_ENABLED = False
print('### USING TESTING CONFIG: ###')
print('SQLALCHEMY_DATABASE_URI = ', SQLALCHEMY_DATABASE_URI)