python3-django-pgtrigger

Write Postgres triggers for your Django models (Python3 version)

Description

django-pgtrigger helps you write Postgres triggers for your Django models. Triggers can solve a variety of complex problems more reliably, performantly, and succinctly than application code.

For example:
 * Protecting operations on rows or columns (pgtrigger.Protect).
 * Making read-only models or fields (pgtrigger.ReadOnly).
 * Soft-deleting models (pgtrigger.SoftDelete).
 * Snapshotting and tracking model changes (django-pghistory).
 * Enforcing field transitions (pgtrigger.FSM).
 * Keeping a search vector updated for full-text search
   (pgtrigger.UpdateSearchVector).
 * Building official interfaces (e.g. enforcing use of User.objects.create_user
   and not User.objects.create).
 * Versioning models, mirroring fields, computing unique model hashes.

This package contains the Python 3 version of the library.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/Opus10/django-pgtrigger


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-django-pgtrigger