• 
      

    Add signature support for all current Index attributes.

    Review Request #12211 — Created March 25, 2022 and submitted — Latest diff uploaded

    Information

    Django Evolution
    release-2.x

    Reviewers

    Index signatures can now store condition, db_tablespace,
    expressions, include, and opclasses.

    Many of these are stored in attrs for future management of attributes,
    and these map to keyword arguments on Index. expressions maps to
    positional arguments, and are stored separately. Existing attributes
    (name and fields) remain at the top-level of the signature
    dictionary.

    Unit tests pass on all supported versions of Python and Django.

    Commits

    Files