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