• 
      

    Add signature support for Django 2.2+ constraints.

    Review Request #11119 — Created Aug. 4, 2020 and submitted

    Information

    Django Evolution
    master

    Reviewers

    Constraints are a feature available in Django 2.2+. They're a way of
    listing explicit constraints on a table, for ensuring that a set of
    fields are unique (potentially with a conditional query that must also
    be met), or for ensuring that a condition passes when inserting data.
    These are dependent on the support in the database backend.

    This initial change introduces signature support for
    serializing/deserializing information on conditions specified on a
    model. They're not currently used as part of the evolution process, but
    that will be arriving in an upcoming change.

    Unit tests pass for all versions of Python and Django.

    Summary ID
    Add signature support for Django 2.2+ constraints.
    Constraints are a feature available in Django 2.2+. They're a way of listing explicit constraints on a table, for ensuring that a set of fields are unique (potentially with a conditional query that must also be met), or for ensuring that a condition passes when inserting data. These are dependent on the support in the database backend. This initial change introduces signature support for serializing/deserializing information on conditions specified on a model. They're not currently used as part of the evolution process, but that will be arriving in an upcoming change.
    05cd85a4e09f2a62adcac8a40d5ef903c1231617
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (49f6ce2)