使用flask模拟blog登陆页面

上次把环境搭建起来了,今天在虚拟环境里面用flask跑了一个登陆的blog页面,根据网上的教程来的。

项目目录架构:

app

---|forms.py __init__.py  views.py

---|static  

---|templates /base.html  index.html  login.html 

run.py

config.py

 

运行截图:

 

posted on 2017-03-31 23:20  大风起兮*  阅读(108)  评论(0)    收藏  举报