Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #27236 -- Reverted AlterIndexTogether deprecation. | Mariusz Felisiak | 2022-07-26 | 1 | -20/+0 |
| | | | | This partly reverts a6385b382e05a614a99e5a5913d8e631823159a2. | ||||
* | Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes. | David Wobrock | 2022-07-12 | 1 | -0/+20 |
| | | | | This also deprecates AlterIndexTogether migration operation. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 5 | -81/+99 |
| | |||||
* | Fixed #32620 -- Allowed subclasses of Big/SmallAutoField for DEFAULT_AUTO_FIELD. | Adam Johnson | 2021-04-08 | 1 | -0/+13 |
| | |||||
* | Fixed #31007 -- Allowed specifying type of auto-created primary keys. | Tom Forbes | 2020-12-15 | 2 | -0/+126 |
| | | | | | This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField. | ||||
* | Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks ↵ | Simon Charette | 2018-12-15 | 1 | -2/+5 |
| | | | | | | | | | | | | | are enabled. Prior to this change foreign key constraint references could be left pointing at tables dropped during operations simulating unsupported table alterations because of an unexpected failure to disable foreign key constraint checks. SQLite3 does not allow disabling such checks while in a transaction so they must be disabled beforehand. Thanks ezaquarii for the report and Carlton and Tim for the review. | ||||
* | Refs #25530 -- Tracked references of deferred SQL statements. | Simon Charette | 2017-06-21 | 1 | -1/+1 |
| | |||||
* | Sorted imports per isort 4.2.9. | Tim Graham | 2017-06-01 | 1 | -1/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Refs #26230 -- Removed support for model name query lookups when using ↵ | Tim Graham | 2017-01-17 | 1 | -11/+4 |
| | | | | | | Meta.default_related_name. Per deprecation timeline. | ||||
* | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | 2016-11-14 | 1 | -0/+1 |
| | |||||
* | Fixed E128 flake8 warnings in tests/. | Tim Graham | 2016-04-08 | 1 | -2/+1 |
| | |||||
* | Fixed #26230 -- Made default_related_name affect related_query_name. | chenesan | 2016-02-27 | 1 | -0/+16 |
| | |||||
* | Removed try/fail antipattern from model_options tests. | Tim Graham | 2016-02-25 | 1 | -29/+12 |
| | |||||
* | Fixed many spelling mistakes in code, comments, and docs. | Josh Soref | 2015-12-03 | 1 | -1/+1 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -3/+3 |
| | | | | ForeignKey/OneToOneField | ||||
* | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | 2015-03-25 | 1 | -2/+2 |
| | | | | | | | | Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 3 | -3/+5 |
| | |||||
* | Replaced DatabaseCreation sql methods by schema editor equivalents | Claude Paroz | 2014-12-23 | 1 | -5/+4 |
| | | | | | Also used schema editor in migrate to sync unmigrated apps (sync_apps). Refs #22340. Thanks Tim Graham for the review. | ||||
* | Fixed #22778 -- Added a model Meta option to define default_related_name. | Renaud Parent | 2014-06-18 | 2 | -0/+87 |
| | | | | Thanks jorgecarleitao and mmardini for reviews. | ||||
* | Created a new tests folder (`model_options`). | Moayad Mardini | 2014-06-11 | 4 | -0/+176 |
And moved `tablespaces` option tests to it. The new folder can be used to test models/options, like the new option added in refs #22778. |