Flask_Backstage是一个基于flask的后台管理开发框架,能帮助你使用很少的时间和代码量开发出功能完备的管理后台。
Introduction
Flask_Backstage 是基于flask的后台管理系统,采用了简洁强大的flask作为web框架,模板引擎用的是Jinja2,数据库用mongodb,前端AdminLTE框架。
依赖
Flask Flask-Bcrypt Flask-Login flask-mongoengine Flask-WTF
特性
内置用户管理,菜单管理,角色管理系统
提供类似的Flask Admin的BaseView,BaseModelView,帮助用户快速的开发增删改功能
Installation
你可以通过pip快速安装Flask_Backstage扩展:
pip install flask-backstage
Examples
这里有个简单的项目使用案例,你也可以在这个项目的基础上编写自己的项目:https://github.com/huanglong123/flask_backstage_example
在线演示地址:http://backstage.kbiaoqing.cn/
账号:admin 密码:123456
Documentation
简单的使用此项目, 你仅仅需要以下的几行代码:
from flask import Flask from flask_backstage import Admin app = Flask(__name__) # 添加csrf保护配置 app.config['WTF_CSRF_ENABLED'] = True app.config['SECRET_KEY'] = 'admin' admin = Admin(app) app.run()
然后访问 http://127.0.0.1:5000/admin/ 账号:admin 密码:123456
Metadata
Release files for flask_backstage 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| flask_backstage-0.1.8.tar.gz | 152.8 kB | Without provenance | Details |
Release files / flask_backstage-0.1.8.tar.gz
| Download URL | flask_backstage-0.1.8.tar.gz |
|---|---|
| Size | 152.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acf423d1834f6b0f035d85bc390b9dcfd9f94e4137941b88dd45d1eff2498e2a
|
|
BLAKE2b-256 checksum How to use checksums |
4544db7b986152b3abf1fa5c4a7d7acd7f902e53c905fbb44f0ff81c3ccc79d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for flask_backstage 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.