Renamed modules.py to routes.py
This commit is contained in:
@@ -55,12 +55,12 @@ class AttractExtension(PillarExtension):
|
|||||||
:rtype: list of flask.Blueprint objects.
|
:rtype: list of flask.Blueprint objects.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from . import modules
|
from . import routes
|
||||||
import attract.tasks.routes
|
import attract.tasks.routes
|
||||||
import attract.shots.routes
|
import attract.shots.routes
|
||||||
|
|
||||||
return [
|
return [
|
||||||
modules.blueprint,
|
routes.blueprint,
|
||||||
attract.tasks.routes.blueprint,
|
attract.tasks.routes.blueprint,
|
||||||
attract.tasks.routes.perproject_blueprint,
|
attract.tasks.routes.perproject_blueprint,
|
||||||
attract.shots.routes.blueprint,
|
attract.shots.routes.blueprint,
|
||||||
|
@@ -7,7 +7,7 @@ import pillarsdk
|
|||||||
import pillar.api.utils
|
import pillar.api.utils
|
||||||
from pillar.web.system_util import pillar_api
|
from pillar.web.system_util import pillar_api
|
||||||
|
|
||||||
from attract.modules import attract_project_view
|
from attract.routes import attract_project_view
|
||||||
from attract.node_types.shot import node_type_shot
|
from attract.node_types.shot import node_type_shot
|
||||||
from attract import current_attract
|
from attract import current_attract
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@ import pillarsdk
|
|||||||
from pillar.web.system_util import pillar_api
|
from pillar.web.system_util import pillar_api
|
||||||
import pillar.api.utils
|
import pillar.api.utils
|
||||||
|
|
||||||
from attract.modules import attract_project_view
|
from attract.routes import attract_project_view
|
||||||
from attract.node_types.task import node_type_task
|
from attract.node_types.task import node_type_task
|
||||||
from attract import current_attract
|
from attract import current_attract
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user