| 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. | |||
| 2018-08-22 | Removed invalid Meta.ordering in a test model. | Tim Graham | |
| It never worked and was never used. | |||
| 2018-03-16 | Fixed hanging indentation in various code. | Mariusz Felisiak | |
| 2017-09-22 | Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) ↵ | Nicolas Delaby | |
| support. Thanks Anssi Kääriäinen for contributing to the patch. | |||
| 2017-08-10 | Refs #16043 -- Refactored internal fields value cache. | Paulo | |
| * Removed all hardcoded logic for _{fieldname}_cache. * Added an internal API for interacting with the field values cache. Thanks carljm and MarkusH for support. | |||
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2017-06-01 | Sorted imports per isort 4.2.9. | Tim Graham | |
| 2017-05-10 | Decreased max_length for char fields unless absolutely needed. (#8485) | Florian Apolloner | |
| 2017-03-17 | Replaced type-specific assertions with assertEqual(). | Tim Graham | |
| Python docs say, "it's usually not necessary to invoke these methods directly." | |||
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 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-09-09 | Refs #25415 -- Fixed invalid models in the test suite. | Adam Chainz | |
| 2016-05-19 | Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects. | darius BERNARD | |
| 2016-04-13 | Refs #16508 -- Renamed the current "virtual" fields to "private". | Michal Petrucha | |
| The only reason why GenericForeignKey and GenericRelation are stored separately inside _meta is that they need to be cloned for every model subclass, but that's not true for any other virtual field. Actually, it's only true for GenericRelation. | |||
| 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-09-21 | Renamed descriptor classes for related objects. | Aymeric Augustin | |
| The old names were downright confusing. Some seemed to mean the opposite of what the class actually did. The new names follow a consistent nomenclature: (Forward|Reverse)(ManyToOne|OneToOne|ManyToMany)Descriptor. I mentioned combinations that do not exist in the docstring in order to help people who would search for them in the code base. | |||
| 2015-08-15 | Fixed #25064 -- Allowed empty join columns. | Alex Hill | |
| 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-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | |
| 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. | |||
| 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-16 | Renamed qn to compiler | Josh Smeaton | |
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2013-12-06 | Fixed #21566 -- Fixed AttributeError when using bulk_create with ForeignObject. | Roger Hu | |
| 2013-12-01 | Fixed incorrect type for max_length. | Tim Graham | |
| 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. | |||
