fab-addon-audit-0.0.1
توضیحات
Audit functionality to flask-appbuilder apps.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fab-addon-audit-0.0.1 |
| نام | fab-addon-audit |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Vaz Gaspar |
| ایمیل نویسنده | danielvazgaspar@gmail.com |
| آدرس صفحه اصلی | https://github.com/dpgaspar/fab_addon_audit |
| آدرس اینترنتی | https://pypi.org/project/fab-addon-audit/ |
| مجوز | BSD |
F.A.B. AddOn for Auditing
-------------------------
Will add audit views to F.A.B's security menu. Enables audit for insert, update and delete operations
on any ModelView you choose.
- Install it::
pip install fab-addon-audit
- Use it:
On you application add the following key to **config.py**
ADDON_MANAGERS = ['fab_addon_audit.manager.AuditAddOnManager']
On your application change your views.py file to import::
from fab_addon_audit.views import AuditedModelView
Then subclass the ModelView's you want to audit from AuditedModelView::
class ContactModelView(AuditedModelView):
datamodel = SQLAInterface(Contact)
نحوه نصب
نصب پکیج whl fab-addon-audit-0.0.1:
pip install fab-addon-audit-0.0.1.whl
نصب پکیج tar.gz fab-addon-audit-0.0.1:
pip install fab-addon-audit-0.0.1.tar.gz