twitter #2
@ -21,8 +21,8 @@ def create_app():
|
|||||||
twitter_db.init_app(app)
|
twitter_db.init_app(app)
|
||||||
campaign_db.init_app(app)
|
campaign_db.init_app(app)
|
||||||
|
|
||||||
twitter_db.create_all()
|
twitter_db.create_all(app=app)
|
||||||
#campaign_db.create_all()
|
#campaign_db.create_all(app=app)
|
||||||
|
|
||||||
app.register_blueprint(twitter, url_prefix='/twitter')
|
app.register_blueprint(twitter, url_prefix='/twitter')
|
||||||
app.register_blueprint(campaign, url_prefix='/campaign')
|
app.register_blueprint(campaign, url_prefix='/campaign')
|
||||||
|
Loading…
Reference in New Issue
Block a user