index
:
chango.git
devmain
fix-31295
initial-branch
main
stable/5.2.x
stable/6.0.x
django
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
django
/
db
/
models
/
indexes.py
Age
Commit message (
Expand
)
Author
2025-10-13
Fixed #36660 -- Fixed a regression in descending Index local field checks.
Simon Charette
2025-05-14
Fixed #36273 -- Moved Index system checks from Model to Index.check().
Tim Graham
2025-03-31
Refs #28909 -- Simplified code using unpacking generalizations.
Aarni Koskela
2024-01-26
Applied Black's 2024 stable style.
Mariusz Felisiak
2023-01-18
Refs #34233 -- Used str.removeprefix()/removesuffix().
Mariusz Felisiak
2023-01-18
Refs #34233 -- Used types.NoneType.
Nick Pope
2022-04-22
Removed unnecessary variable in Index.create_sql().
Hannes Ljungberg
2022-04-13
Fixed DatabaseFeatures.supports_index_column_ordering and related tests with ...
Mariusz Felisiak
2022-02-07
Refs #33476 -- Refactored code to strictly match 88 characters line length.
Mariusz Felisiak
2022-02-07
Refs #33476 -- Reformatted code with Black.
django-bot
2022-02-03
Refs #33476 -- Refactored problematic code before reformatting by Black.
Mariusz Felisiak
2021-07-15
Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db....
Daniyal
2021-02-19
Fixed #32458 -- Made __repr__() for Index and BaseConstraint subclasses more ...
Hannes Ljungberg
2021-01-13
Fixed #26167 -- Added support for functional indexes.
Hannes Ljungberg
2021-01-12
Refs #26709 -- Made Index raise ValueError on non-string fields.
Hannes Ljungberg
2020-12-23
Refs #26167 -- Made DatabaseSchemaEditor._create_index_sql()'s fields argumen...
Hannes Ljungberg
2020-06-17
Refs #28077 -- Added opclasses to Index.__repr__().
Mariusz Felisiak
2020-06-04
Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.
Hannes Ljungberg
2019-11-21
Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols).
Simon Charette
2019-10-01
Fixed #30651 -- Made __eq__() methods return NotImplemented for not implement...
ElizabethU
2019-09-10
Fixed #30754 -- Prevented inclusion of aliases in partial index conditions.
Simon Charette
2019-08-21
Fixed #21039 -- Added AddIndexConcurrently/RemoveIndexConcurrently operations...
Mads Jensen
2019-07-05
Fixed #30613 -- Moved index name validation to system checks.
can
2019-01-12
Used None as the empty value for condition in Index's SQL construction.
Paveł Tyślacki
2019-01-01
Fixed #30060 -- Moved SQL generation for indexes and constraints to SchemaEdi...
Paveł Tyślacki
2018-10-29
Fixed #29547 -- Added support for partial indexes.
Mads Jensen
2018-10-02
Added django.db.backends.utils.names_digest() to remove redundant code.
Jon Dufresne
2018-06-29
Fixed #28077 -- Added support for PostgreSQL opclasses in Index.
Ian Foote
2018-03-17
Removed unused args in Index.clone().
Mads Jensen
2018-03-08
Fixed #29178 -- Allowed Index.fields to accept a tuple.
Fabrizio Ettore Messina
2017-12-05
Refs #28876 -- Fixed incorrect class-based model index name generation for mo...
Mariusz Felisiak
2017-08-08
Fixed #28465 -- Unified index SQL creation in DatabaseSchemaEditor
Claude Paroz
2017-06-27
Fixed #28046 -- Added the db_tablespace parameter to class-based indexes.
Mariusz Felisiak
2017-06-27
Fixed #28330 -- Prevented passing positional arguments to an Index.
Mariusz Felisiak
2017-03-21
Fixed #27915 -- Allowed Meta.indexes to be defined in abstract models.
Tim Graham
2017-03-18
Fixed #27935 -- Fixed crash with BrinIndex name > 30 characters.
Mads Jensen
2017-03-14
Used constant instead of hard-coded value for max index name length
Mads Jensen
2017-01-20
Refs #23919 -- Removed unneeded str() calls
Claude Paroz
2017-01-19
Refs #23919 -- Stopped inheriting from object to define new style classes.
Simon Charette
2017-01-18
Refs #23919 -- Removed obsolete __ne__() methods.
Aymeric Augustin
2017-01-18
Refs #23919 -- Removed encoding preambles and future imports
Claude Paroz
2017-01-16
Refs #25809 -- Made a few late review comments for BrinIndex.
Mads Jensen
2017-01-15
Fixed #25809 -- Added BrinIndex support in django.contrib.postgres.
Mads Jensen
2016-10-10
Fixed gis_tests.geoapp when run in isolation.
Tim Graham
2016-08-16
Refs #26709 -- Added type check for models.Index fields argument.
Akshesh
2016-08-12
Fixed #27030 -- Added contrib.postgres.indexes.GinIndex.
Akshesh
2016-08-12
Fixed #20888 -- Added support for column order in class-based indexes.
Akshesh
2016-08-05
Fixed #26808 -- Added Meta.indexes for class-based indexes.
Akshesh
2016-08-02
Refs #26709 -- Replaced Index.get_name() with set_name_with_model().
Akshesh
2016-07-07
Refs #26709 -- Added 'model' argument to SchemaEditor.add/remove_index()
Akshesh
[next]