Python 如何构建大型应用程序
在Flask中,我可以调用Python 如何构建大型应用程序,python,bottle,Python,Bottle,在Flask中,我可以调用blueprint函数来构建我的应用程序 我想做以下工作: app/ __init__.py admin/ __init__.py views.py static/ templates/ home/ __init__.py views.py static/ templates/ control_panel/
blueprint
函数来构建我的应用程序
我想做以下工作:
app/
__init__.py
admin/
__init__.py
views.py
static/
templates/
home/
__init__.py
views.py
static/
templates/
control_panel/
__init__.py
views.py
static/
templates/
models.py
在瓶子中,我该怎么做?在每个路径中使用
app=ball.defaultapp()
。在主应用程序中导入所有路由功能