Skip to main content

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


Download files

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

Source Distribution

fab-addon-audit-0.0.1.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file fab-addon-audit-0.0.1.tar.gz.

File metadata

File hashes

Hashes for fab-addon-audit-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e6c1bce62f76eccb28a52ed6c889e4d5dbda1d9d8ec6224c01d387719948e84e
MD5 e5e7f79acf61322689bcd41bd2fab9d8
BLAKE2b-256 427f4938e979296819853983e8f8e40d60861f0c62072dba4bff5edc0ef1be38

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page