Flask 配置BluePrint 项目结构
Switch branches/tags
Nothing to show
Clone or download
awanabe
awanabe # Blueprint init with __name__, resolve the bug of relative path of t…
…emplates and static

# Add static js when loading template to prove blueprint static folder take effect
Latest commit e08ae39 Jul 31, 2014

README.md

FlaskBluePrintDemo with sub domain

Flask 配置BluePrint 子域名 项目结构

内含

  • 使用 BluePrint 配置多模块 Flask 项目
  • 支持同一域名下子域名关联BluePrint模块
  • BluePrint 模块配置, 初始化中配置static和templates路径

运行项目

requirement

  • Flask==0.10.1
  • Jinja==2.7.2

keywords

  • Flask
  • BluePrint
  • sub_domain subdomain
  • project structure