summaryrefslogtreecommitdiff
path: root/tests/foreign_object/models
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ↵David Wobrock2023-04-181-1/+1
| | | | relation on PostgreSQL.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-075-81/+107
|
* Fixed #32951 -- Removed Query.where_class & co.Nick Pope2021-07-222-3/+3
| | | | Unused since 3caf957ed5eaa831a485abcb89f27266dbf3e82b.
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-042-7/+4
|
* Removed invalid Meta.ordering in a test model.Tim Graham2018-08-221-1/+0
| | | | It never worked and was never used.
* Fixed hanging indentation in various code.Mariusz Felisiak2018-03-161-1/+2
|
* Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) ↵Nicolas Delaby2017-09-221-5/+21
| | | | | support. Thanks Anssi Kääriäinen for contributing to the patch.
* Refs #16043 -- Refactored internal fields value cache.Paulo2017-08-101-2/+2
| | | | | | | * Removed all hardcoded logic for _{fieldname}_cache. * Added an internal API for interacting with the field values cache. Thanks carljm and MarkusH for support.
* Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne2017-06-011-1/+1
|
* Decreased max_length for char fields unless absolutely needed. (#8485)Florian Apolloner2017-05-101-1/+1
|
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-252-3/+3
|
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-1/+1
|
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-183-9/+0
|
* Refs #25415 -- Fixed invalid models in the test suite.Adam Chainz2016-09-091-1/+1
|
* Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects.darius BERNARD2016-05-192-2/+42
|
* Refs #16508 -- Renamed the current "virtual" fields to "private".Michal Petrucha2016-04-131-2/+2
| | | | | | | 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.
* Fixed #26153 -- Reallowed Q-objects in ↵Anssi Kääriäinen2016-02-111-0/+13
| | | | ForeignObject.get_extra_descriptor_filter().
* Fixed #25972 -- Restored support for the isnull lookup with ForeignObject.Tomo Otsuka2015-12-241-6/+7
|
* Renamed descriptor classes for related objects.Aymeric Augustin2015-09-212-8/+7
| | | | | | | | | | | | 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.
* Fixed #25064 -- Allowed empty join columns.Alex Hill2015-08-152-1/+102
|
* Moved foreign_object models.py into a module.Tim Graham2015-08-143-0/+219