| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-02-01 | [4.2.x] Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main | |||
| 2022-12-28 | Fixed #18468 -- Added support for comments on columns and tables. | kimsoungryoul | |
| Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2022-07-12 | Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes. | David Wobrock | |
| This also deprecates AlterIndexTogether migration operation. | |||
| 2022-05-10 | Fixed #30581 -- Added support for Meta.constraints validation. | Gagaro | |
| Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews. | |||
| 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 | |
| In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | |||
| 2021-07-26 | Fixed #32947 -- Fixed hash() crash on reverse M2M relation when ↵ | Tom Wojcik | |
| through_fields is a list. Regression in c32d8f33d8e988a376e44997b8f3606d821f305e. | |||
| 2021-07-15 | Refs #32508 -- Raised Type/ValueError instead of using "assert" in ↵ | Daniyal | |
| django.db.models. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-06-15 | Fixed #30427, Fixed #16176 -- Corrected setting descriptor in ↵ | Carlton Gibson | |
| Field.contribute_to_class(). Co-authored-by: Jarek Glowacki <jarekwg@gmail.com> | |||
| 2021-04-14 | Fixed #32635 -- Fixed system check crash for reverse o2o relations in ↵ | Hasan Ramezani | |
| CheckConstraint.check and UniqueConstraint.condition. Regression in b7b7df5fbcf44e6598396905136cab5a19e9faff. Thanks Szymon Zmilczak for the report. | |||
| 2021-04-14 | Refs #31530 -- Added test for joined OneToOneField in CheckConstraint.check | Hasan Ramezani | |
| 2021-02-23 | Fixed #30916 -- Added support for functional unique constraints. | Hannes Ljungberg | |
| Thanks Ian Foote and Mariusz Felisiak for reviews. | |||
| 2021-01-14 | Fixed #32321 -- Added system checks for invalid model field names in ↵ | Hasan Ramezani | |
| functional indexes. | |||
| 2021-01-13 | Fixed #26167 -- Added support for functional indexes. | Hannes Ljungberg | |
| Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu> | |||
| 2020-07-06 | Fixed #31530 -- Added system checks for invalid model field names in ↵ | Hasan Ramezani | |
| CheckConstraint.check and UniqueConstraint.condition. | |||
| 2020-06-04 | Refs #30913 -- Added system checks for covering indexes and unique ↵ | Mariusz Felisiak | |
| constraints support. | |||
| 2020-06-04 | Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+. | Hannes Ljungberg | |
| 2020-05-20 | Fixed #31410 -- Added system checks for invalid model field names in ↵ | Hasan Ramezani | |
| UniqueConstraint. | |||
| 2020-05-08 | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | |
| Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-05-05 | Fixed #31538 -- Fixed Meta.ordering validation lookups that are not transforms. | Mariusz Felisiak | |
| Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e. Thanks Simon Meers for the report. | |||
| 2020-04-30 | Fixed #20581 -- Added support for deferrable unique constraints. | Ian Foote | |
| 2020-04-10 | Fixed #31351 -- Added system checks for partial indexes and unique ↵ | Ichlasul Affan | |
| constraints support. | |||
| 2020-04-10 | Refs #31055 -- Allowed database queries in ↵ | Mariusz Felisiak | |
| invalid_models_tests.test_models.FieldNamesTests. | |||
| 2020-03-18 | Removed redundant get_max_column_name_length() calls in ↵ | Mariusz Felisiak | |
| invalid_models_tests.test_models.FieldNamesTests. | |||
| 2020-03-18 | Refs #31055 -- Made long column names checks support databases aware. | Mariusz Felisiak | |
| 2020-02-17 | Fixed #31277 -- Relaxed system check of m2m intermediary tables for db_table ↵ | Xavier Francisco | |
| collision when database routers are installed. Turned the error into a warning when database routers are installed. | |||
| 2020-02-08 | Refs #31055 -- Fixed Model.check() call in ↵ | Mariusz Felisiak | |
| ConstraintsTests.test_check_constraints_required_db_features(). | |||
| 2020-02-07 | Fixed #31055 -- Made constraint checks support databases aware. | Simon Charette | |
| 2020-01-16 | Fixed #29998 -- Allowed multiple OneToOneFields to the parent model. | Mariusz Felisiak | |
| We assumed that any OneToOneField's in a child model must be the parent link and raised an error when parent_link=True was not specified. This patch allows to specify multiple OneToOneField's to the parent model. OneToOneField's without a custom related_name will raise fields.E304 and fields.E305 so this should warn users when they try to override the auto-created OneToOneField. | |||
| 2019-09-27 | Fixed #30798 -- Fixed Meta.ordering validation for pk of related fields. | Hasan Ramezani | |
| Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e. | |||
| 2019-09-27 | Refs #30798 -- Prevented chaining fields from the same related model ↵ | Hasan Ramezani | |
| multiple times in model Meta.ordering. | |||
| 2019-08-12 | Refs #11964 -- Made constraint support check respect required_db_features. | Simon Charette | |
| This will notably silence the warnings issued when running the test suite on MySQL. | |||
| 2019-07-05 | Fixed #30613 -- Moved index name validation to system checks. | can | |
| 2019-05-01 | Fixed #30409 -- Allowed using foreign key's attnames in ↵ | zeyneloz | |
| unique/index_together and Index's fields. | |||
| 2019-03-01 | Refs #29408 -- Cosmetic edits for validation of related fields and lookups ↵ | Mariusz Felisiak | |
| in model Meta.ordering. Follow up to 440505cb2cadbe1a5b9fba246bcde6c04f51d07e. | |||
| 2019-03-01 | Fixed #29408 -- Added validation of related fields and lookups in model ↵ | Hasan Ramezani | |
| Meta.ordering. | |||
| 2018-11-17 | Added test for Model._check_column_name_clashes(). | Hasan Ramezani | |
| 2018-10-02 | Refs #11964 -- Changed CheckConstraint() signature to use keyword-only ↵ | Simon Charette | |
| arguments. Also renamed the `constraint` argument to `check` to better represent which part of the constraint the provided `Q` object represents. | |||
| 2018-08-22 | Fixed #26352 -- Made system check allow ManyToManyField to target the same ↵ | Simon Willison | |
| model if through_fields differs. | |||
| 2018-07-10 | Fixed #11964 -- Added support for database check constraints. | Ian Foote | |
| 2018-05-03 | Refs #29358 -- Corrected wording in primary key check message. | Carlton Gibson | |
| 2018-05-03 | Fixed #29358 -- Added a system check to prohibit models with more than one ↵ | Hasan Ramezani | |
| primary_key field. | |||
| 2018-01-12 | Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵ | Дилян Палаузов | |
| continue statements. | |||
| 2018-01-03 | Fixed #28867 -- Added system check for a model property that clashes with a ↵ | shanghui | |
| related field accessor. | |||
| 2017-12-29 | Made a few cleanups to invalid_models_tests.test_models. | shanghui | |
| 2017-12-27 | Fixed #28714 -- Added system checks for invalid model field names in ↵ | hui shang | |
| Meta.indexes. Thanks Gabriel for the report and Adam Johnson for the review. | |||
| 2017-07-11 | Made assertions in invalid_models_tests consistent. | Adam Johnson | |
| 2017-05-27 | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | |
| iter(dict) is equivalent to iter(dict.keys()). | |||
| 2017-02-03 | Fixed spelling of "nonexistent". | Tim Graham | |
