Skip to content

zhangyanbo93429/fab_addon_audit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.1%
  • HTML 1.9%