config.py 571 B

1234567891011121314151617
  1. # DEBUG has to be to False in a production enrironment for security reasons
  2. DEBUG = True
  3. # Secret key for generating tokens
  4. SECRET_KEY = 'houdini'
  5. # Database choice
  6. SQLALCHEMY_DATABASE_URI = 'sqlite:///app.db'
  7. SQLALCHEMY_TRACK_MODIFICATIONS = True
  8. # Configuration of a Gmail account for sending mails
  9. MAIL_SERVER = 'smtp.googlemail.com'
  10. MAIL_PORT = 465
  11. MAIL_USE_TLS = False
  12. MAIL_USE_SSL = True
  13. MAIL_USERNAME = 'flask.boilerplate'
  14. MAIL_PASSWORD = 'flaskboilerplate123'
  15. ADMINS = ['flask.boilerplate@gmail.com']
  16. # Number of times a password is hashed
  17. BCRYPT_LOG_ROUNDS = 12