Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Audit functionality to flask-appbuilder apps.

Project description

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)

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
fab-addon-audit-0.0.1.tar.gz (5.1 kB) Copy SHA256 hash SHA256 Source None Nov 12, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page