Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dpgaspar/fab_addon_audit

AddOn for Flask-AppBuilder. Will add audit to your ModelView's
https://github.com/dpgaspar/fab_addon_audit

Last synced: about 1 month ago
JSON representation

AddOn for Flask-AppBuilder. Will add audit to your ModelView's

Awesome Lists containing this project

README

        

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)