Fixing config.py
This commit is contained in:
parent
12095485ab
commit
bab32e271f
1 changed files with 0 additions and 2 deletions
|
@ -35,13 +35,11 @@ class DevelopmentConfig(Config):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def init_app(app):
|
def init_app(app):
|
||||||
with app.app_context():
|
with app.app_context():
|
||||||
db.drop_all()
|
|
||||||
db.create_all()
|
db.create_all()
|
||||||
|
|
||||||
|
|
||||||
class ProductionConfig(Config):
|
class ProductionConfig(Config):
|
||||||
BOOTSTRAP_USE_MINIFIED = True
|
BOOTSTRAP_USE_MINIFIED = True
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class TestingConfig(Config):
|
class TestingConfig(Config):
|
||||||
|
|
Loading…
Reference in a new issue