【实例简介】
完整版Python-Flask项目,调试通过,直接下载即可运行(需要将app/email.py中的邮箱信息修改为自己的真实邮箱信息)。包括:登陆、注册、修改个人信息、浏览、发布文章、留言、评论、回复等多个功能。可作为新手练习,课程设计,加工一下也可以作为毕业设计,代码注释详细,便于理解。
【实例截图】
【核心代码】
3af1a6bc-9f4f-4ef2-80d4-d916202d6e4e
└── daizhaodan
├── app
│ ├── blog-dev.sqlite
│ ├── config.py
│ ├── email.py
│ ├── extensions.py
│ ├── forms
│ │ ├── __init__.py
│ │ ├── posts.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-36.pyc
│ │ │ ├── posts.cpython-36.pyc
│ │ │ └── user.cpython-36.pyc
│ │ └── user.py
│ ├── __init__.py
│ ├── models
│ │ ├── comments.py
│ │ ├── __init__.py
│ │ ├── posts.py
│ │ ├── __pycache__
│ │ │ ├── comments.cpython-36.pyc
│ │ │ ├── __init__.cpython-36.pyc
│ │ │ ├── posts.cpython-36.pyc
│ │ │ └── user.cpython-36.pyc
│ │ └── user.py
│ ├── __pycache__
│ │ ├── config.cpython-36.pyc
│ │ ├── email.cpython-36.pyc
│ │ ├── extensions.cpython-36.pyc
│ │ └── __init__.cpython-36.pyc
│ ├── static
│ │ └── upload
│ │ ├── 2zplm1v4a8k0s7hlju4ap20l3e0u5njm.jpg
│ │ ├── default.jpg
│ │ ├── nkxxxa2j2r2gzs2xmml4dvlxztnohg7n.jpg
│ │ └── txs3k2k2cwtb082yer0x8qmsyhtqehco.jpg
│ ├── templates
│ │ ├── common
│ │ │ ├── base.html
│ │ │ └── macro.html
│ │ │ ├── activate.html
│ │ │ ├── activate.txt
│ │ │ ├── change.html
│ │ │ └── change.txt
│ │ ├── errors
│ │ │ └── 404.html
│ │ ├── main
│ │ │ ├── index.html
│ │ │ └── post_detail.html
│ │ ├── posts
│ │ │ ├── pub.html
│ │ │ └── success.html
│ │ └── user
│ │ ├── change_email.html
│ │ ├── change_icon.html
│ │ ├── change_pwd.html
│ │ ├── login.html
│ │ ├── mine.html
│ │ ├── my_favorites.html
│ │ ├── profile.html
│ │ └── register.html
│ └── views
│ ├── __init__.py
│ ├── main.py
│ ├── posts.py
│ ├── __pycache__
│ │ ├── __init__.cpython-36.pyc
│ │ ├── main.cpython-36.pyc
│ │ ├── posts.cpython-36.pyc
│ │ └── user.cpython-36.pyc
│ └── user.py
├── blog.md
├── manage.py
├── migrations
│ ├── alembic.ini
│ ├── env.py
│ ├── __pycache__
│ │ └── env.cpython-36.pyc
│ ├── README
│ └── script.py.mako
└── requirement.txt
20 directories, 62 files