Skip to content

Feature request: Integration with Django's system check framework #81

Closed

Description

@wesleykendall

Integrate pgtrigger into django's check system similar to other Django model constructs. Key pieces of behavior desired:

  1. Duplicate trigger name checks happen in the check system instead of during code load time.
  2. Warn users when child models don't inherit the triggers of the base model

Although Django allows one to turn off checks, number 1 will still fail during installation time since a duplicate trigger name is a serious error.

Number 2 should be able to be ignored if it happens, although it's assumed this should be a rare case. It is not totally clear if/how number 2 can fit into Django's check framework, so more research is needed.

Activity

  1. locked and limited conversation to collaborators on Aug 27, 2024
  2. converted this issue into a discussion #162 on Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions