config_common.py 575 B

1234567891011121314151617181920212223
  1. TIMEZONE = 'Europe/Paris'
  2. # Secret key for generating tokens
  3. SECRET_KEY = 'houdini'
  4. # Admin credentials
  5. ADMIN_CREDENTIALS = ('admin', 'pa$$word')
  6. # Database choice
  7. SQLALCHEMY_DATABASE_URI = 'sqlite:///app.db'
  8. SQLALCHEMY_TRACK_MODIFICATIONS = True
  9. # Configuration of a Gmail account for sending mails
  10. MAIL_SERVER = 'smtp.googlemail.com'
  11. MAIL_PORT = 465
  12. MAIL_USE_TLS = False
  13. MAIL_USE_SSL = True
  14. MAIL_USERNAME = 'flask.boilerplate'
  15. MAIL_PASSWORD = 'flaskboilerplate123'
  16. ADMINS = ['flask.boilerplate@gmail.com']
  17. # Number of times a password is hashed
  18. BCRYPT_LOG_ROUNDS = 12