Basic template
This commit is contained in:
parent
bd63ae9a4d
commit
6bceef1664
9 changed files with 66 additions and 0 deletions
20
app/configuration.py
Normal file
20
app/configuration.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
class Config(object):
|
||||
DEBUG = False
|
||||
TESTING = False
|
||||
SQLALCHEMY_DATABASE_URI = "sqlite:///application.db"
|
||||
BOOTSTRAP_FONTAWESOME = True
|
||||
SECRET_KEY = "MINHACHAVESECRETA"
|
||||
CSRF_ENABLED = True
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = True
|
||||
|
||||
# Get your reCaptche key on: https://www.google.com/recaptcha/admin/create
|
||||
# RECAPTCHA_PUBLIC_KEY = "6LffFNwSAAAAAFcWVy__EnOCsNZcG2fVHFjTBvRP"
|
||||
# RECAPTCHA_PRIVATE_KEY = "6LffFNwSAAAAAO7UURCGI7qQ811SOSZlgU69rvv7"
|
||||
|
||||
|
||||
class DevelopmentConfig(Config):
|
||||
DEBUG = True
|
||||
|
||||
|
||||
class TestingConfig(Config):
|
||||
TESTING = True
|
||||
Loading…
Add table
Add a link
Reference in a new issue