| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-11-27 | Adjusted code style of a few test data setup methods. | Simon Charette | |
| Thanks Mariusz for suggesting it. | |||
| 2018-11-27 | Switched setUp() to setUpTestData() where possible in Django's tests. | Simon Charette | |
| 2018-11-08 | Fixed #29908 -- Fixed setting of foreign key after related set access if ↵ | Simon Charette | |
| ForeignKey uses to_field. Adjusted known related objects handling of target fields which relies on from and to_fields and has the side effect of fixing a bug bug causing N+1 queries when using reverse foreign objects. Thanks Carsten Fuchs for the report. | |||
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-06-01 | Sorted imports per isort 4.2.9. | Tim Graham | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-09-13 | Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵ | Mads Jensen | |
| assertSequenceEqual(). | |||
| 2016-02-11 | Fixed #26153 -- Reallowed Q-objects in ↵ | Anssi Kääriäinen | |
| ForeignObject.get_extra_descriptor_filter(). | |||
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2016-01-06 | Fixed #25746 -- Isolated inlined test models registration. | Simon Charette | |
| Thanks to Tim for the review. | |||
| 2015-12-24 | Fixed #25972 -- Restored support for the isnull lookup with ForeignObject. | Tomo Otsuka | |
| 2015-11-14 | Refs #25745 -- Isolated a foreign_object test. | Simon Charette | |
| 2015-11-03 | Fixed #25668 -- Misc spelling errors | Ville Skyttä | |
| 2015-10-14 | Refs #25535 -- Minor edits to ForeignObject check changes. | Tim Graham | |
| 2015-10-12 | Fixed #25535 -- Made ForeignObject checks less strict. | Antoine Catton | |
| Check that the foreign object `from_fields` are a subset of any unique constraints on the foreign model. | |||
| 2015-08-14 | Moved foreign_object models.py into a module. | Tim Graham | |
| 2015-08-03 | Added test for ForeignObject.get_extra_descriptor_filter() | Alex Hill | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2014-12-02 | Ensured foreign_object tests reset language properly. | Preston Timmons | |
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2013-12-06 | Fixed #21566 -- Fixed AttributeError when using bulk_create with ForeignObject. | Roger Hu | |
| 2013-11-02 | PEP8 cleanup | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-08-13 | Fixed #20874 -- bump_prefix() in nested subqueries | Anssi Kääriäinen | |
| Also made some cleanup to build_filter() code by introducing submethods solve_lookup_type() and prepare_lookup_value(). | |||
| 2013-08-06 | Fixed ordering related test failure | Anssi Kääriäinen | |
| Also PEP8 + python_2_unicode_compatible cleanup done. | |||
| 2013-07-25 | Fixed ._meta.pk_index() virtual field failure | Anssi Kääriäinen | |
| 2013-06-27 | Add related_query_name to ForeignKey/M2M. Refs #20244 | Andrew Godwin | |
| 2013-05-27 | Fixed #17582 - Added message to DoesNotExist exceptions. | Tim Graham | |
| Thanks simon@ for the suggestion and JordanPowell for the initial patch. | |||
| 2013-05-09 | Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵ | Luke Plant | |
| added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute. | |||
| 2013-03-24 | Fixed 19385 -- Added ORM support for multicolumn joins | Anssi Kääriäinen | |
| This patch iproved two major parts in Django. First, the fields.related was refactored. The main addition there was ForeignObject. Second, the ORM now handles multicolumn joins in most cases, though there are still cases that do not work correcly (split_exclude() for example). In addition there were extesive changes to how GenericRelation works. Before it was a fake m2m field, now it is a pure virtual fields and is based on ForeignObject. There is still much room for improvement. The related fields code is still somewhat confusing, and how fields are represented in model._meta should also be revisited. This patch was written mostly by Jeremy Tillman with some final polish by the committer. | |||
