Fixed imports
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
from flask import Flask
|
||||
from dotenv import load_dotenv
|
||||
|
||||
from webservice.models import *
|
||||
from webservice.interface import interface
|
||||
from webservice.blueprints.keyword import keyword_blueprint
|
||||
from webservice.blueprints.shares import shares_blueprint
|
||||
from webservice.blueprints.user import users_blueprint
|
||||
from models import *
|
||||
from blueprint_interface import interface_blueprint
|
||||
from api_blueprint_keyword import keyword_blueprint
|
||||
from api_blueprint_shares import shares_blueprint
|
||||
from api_blueprint_user import users_blueprint
|
||||
|
||||
|
||||
def create_app():
|
||||
@@ -28,7 +28,7 @@ def create_app():
|
||||
application.register_blueprint(users_blueprint)
|
||||
|
||||
# interface blueprint
|
||||
application.register_blueprint(interface)
|
||||
application.register_blueprint(interface_blueprint)
|
||||
|
||||
return application
|
||||
|
||||
|
||||
Reference in New Issue
Block a user