Django Pgtrigger

screenshot of Django Pgtrigger
django

Write Postgres triggers for your Django models

Overview

django-pgtrigger is a tool that helps users write Postgres triggers for Django models. Triggers can be used to solve complex problems more reliably, performantly, and succinctly than using application code. This tool offers several features that make it easier to implement triggers in Django models.

Features

  • Protect: Protecting operations on rows or columns
  • ReadOnly: Making read-only models or fields
  • SoftDelete: Soft-deleting models
  • FSM: Enforcing field transitions
  • UpdateSearchVector: Keeping a search vector updated for full-text search
  • Official interfaces: Building official interfaces for specific operations
  • Versioning models: Mirror fields, computing unique model hashes, etc.
django
Django

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It follows the model-view-controller (MVC) architectural pattern, providing an extensive set of built-in tools and conventions to streamline the creation of robust and scalable web applications.