初学flask,想利用蓝图把网站分成一个个app的形式(类似django)
想让blueprint1中的templates中的模板(show.html)extends application的templates中的base.html
该如何做?
目录是
/application
----/__init__.py
----/views.py
----/static
--------/main.css
----/templates
--------/base.html
/blueprint1
----/__init__.py
----/views.py
----/templates
--------/show.html
想让blueprint1中的templates中的模板(show.html)extends application的templates中的base.html
该如何做?
目录是
/application
----/__init__.py
----/views.py
----/static
--------/main.css
----/templates
--------/base.html
/blueprint1
----/__init__.py
----/views.py
----/templates
--------/show.html