资源简介

本项目基于Flask框架开发完成了一款留言板,其功能包括登录、注册、注销和留言,另外主页会滑动显示留言的功能,当然未登录是不能进行留言的。

资源截图

代码片段和文件信息

#-*- encoding=UTF-8 -*-

from flask_script import Manager
from messageboard import db
from messageboard import create_app

app = create_app()
manager = Manager(app)

@manager.command
def init_database():
    db.drop_all()
    db.create_all()

if __name__ == ‘__main__‘:
    manager.run()

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件         19  2018-07-25 15:28  flask-message-board\flask-message-board\.idea\.name

     文件       1046  2018-07-25 15:48  flask-message-board\flask-message-board\.idea\flask-message-board.iml

     文件        192  2018-07-25 13:07  flask-message-board\flask-message-board\.idea\misc.xml

     文件        290  2018-07-25 18:41  flask-message-board\flask-message-board\.idea\modules.xml

     文件      52494  2018-07-31 15:18  flask-message-board\flask-message-board\.idea\workspace.xml

     文件        287  2018-07-31 15:15  flask-message-board\flask-message-board\manage.py

     文件        441  2018-07-27 15:09  flask-message-board\flask-message-board\messageboard\bbs\form.py

     文件        778  2018-07-27 15:09  flask-message-board\flask-message-board\messageboard\bbs\form.pyc

     文件        950  2018-07-27 16:01  flask-message-board\flask-message-board\messageboard\bbs\views.py

     文件       1401  2018-07-27 16:01  flask-message-board\flask-message-board\messageboard\bbs\views.pyc

     文件        125  2018-07-31 14:40  flask-message-board\flask-message-board\messageboard\bbs\__init__.py

     文件        310  2018-07-31 14:48  flask-message-board\flask-message-board\messageboard\bbs\__init__.pyc

     文件       1591  2018-07-27 18:10  flask-message-board\flask-message-board\messageboard\models.py

     文件       2565  2018-07-27 18:10  flask-message-board\flask-message-board\messageboard\models.pyc

     文件       2050  2018-07-26 19:20  flask-message-board\flask-message-board\messageboard\reglogin\form.py

     文件       2150  2018-07-26 19:20  flask-message-board\flask-message-board\messageboard\reglogin\form.pyc

     文件       2329  2018-07-31 15:27  flask-message-board\flask-message-board\messageboard\reglogin\views.py

     文件       2699  2018-07-27 11:30  flask-message-board\flask-message-board\messageboard\reglogin\views.pyc

     文件        138  2018-07-27 10:40  flask-message-board\flask-message-board\messageboard\reglogin\__init__.py

     文件        325  2018-07-27 10:40  flask-message-board\flask-message-board\messageboard\reglogin\__init__.pyc

     文件        952  2018-07-31 14:48  flask-message-board\flask-message-board\messageboard\templates\base.html

     文件       1385  2018-07-31 14:48  flask-message-board\flask-message-board\messageboard\templates\index.html

     文件        597  2018-07-27 11:25  flask-message-board\flask-message-board\messageboard\templates\login.html

     文件        604  2018-07-27 11:25  flask-message-board\flask-message-board\messageboard\templates\register.html

     文件       1340  2018-07-31 15:48  flask-message-board\flask-message-board\messageboard\__init__.py

     文件       1423  2018-07-31 15:15  flask-message-board\flask-message-board\messageboard\__init__.pyc

     文件        145  2018-07-27 18:12  flask-message-board\flask-message-board\run.py

     文件     109460  2017-07-17 22:31  flask-message-board\flask-message-board\static\bootstrap-material-design.css

     文件      25017  2017-07-17 22:31  flask-message-board\flask-message-board\static\bootstrap-material-design.css.map

     文件      95404  2017-07-17 22:31  flask-message-board\flask-message-board\static\bootstrap-material-design.min.css

............此处省略28个文件信息

评论

共有 条评论