2016-08-19 09:19:06 +02:00
|
|
|
def setup_app(app):
|
|
|
|
from . import encoding, blender_id, projects, local_auth, file_storage
|
|
|
|
from . import users, nodes, latest, blender_cloud, service, activities
|
2017-08-22 17:47:54 +02:00
|
|
|
from . import organizations
|
2017-11-10 16:05:12 +01:00
|
|
|
from . import search
|
2016-08-19 09:19:06 +02:00
|
|
|
|
|
|
|
encoding.setup_app(app, url_prefix='/encoding')
|
|
|
|
blender_id.setup_app(app, url_prefix='/blender_id')
|
2017-11-10 16:05:12 +01:00
|
|
|
search.setup_app(app, url_prefix='/newsearch')
|
2016-08-19 09:19:06 +02:00
|
|
|
projects.setup_app(app, api_prefix='/p')
|
|
|
|
local_auth.setup_app(app, url_prefix='/auth')
|
|
|
|
file_storage.setup_app(app, url_prefix='/storage')
|
|
|
|
latest.setup_app(app, url_prefix='/latest')
|
|
|
|
blender_cloud.setup_app(app, url_prefix='/bcloud')
|
|
|
|
users.setup_app(app, api_prefix='/users')
|
|
|
|
service.setup_app(app, api_prefix='/service')
|
|
|
|
nodes.setup_app(app, url_prefix='/nodes')
|
|
|
|
activities.setup_app(app)
|
2017-08-22 17:47:54 +02:00
|
|
|
organizations.setup_app(app)
|