15 lines
297 B
Python
15 lines
297 B
Python
import flask
|
|
|
|
from . import user_api
|
|
from . import forum_api
|
|
from . import thread_api
|
|
|
|
api = flask.Blueprint(
|
|
name='api',
|
|
import_name=__name__,
|
|
url_prefix='/api/'
|
|
)
|
|
api.register_blueprint(user_api.user)
|
|
api.register_blueprint(forum_api.forum)
|
|
api.register_blueprint(thread_api.thread)
|