Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #16055 -- Deprecated ↵ | David Wobrock | 2023-04-18 | 1 | -0/+7 |
| | | | | get_joining_columns()/get_reverse_joining_columns() methods. | ||||
* | Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ↵ | David Wobrock | 2023-04-18 | 1 | -0/+3 |
| | | | | relation on PostgreSQL. | ||||
* | Fixed #34443 -- Fixed filtering by transforms on reverse relations. | Mariusz Felisiak | 2023-03-28 | 1 | -0/+6 |
| | | | Regression in ce6230aa976e8d963226a3956b45a8919215dbd8. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -2/+4 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -26/+71 |
| | |||||
* | Fixed #32996 -- Cached PathInfos on relations. | Keryn Knight | 2021-11-03 | 1 | -3/+22 |
| | | | | | | PathInfo values are ostensibly static over the lifetime of the object for which they're requested, so the data can be memoized, quickly amortising the cost over the process' duration. | ||||
* | Fixed #32947 -- Fixed hash() crash on reverse M2M relation when ↵ | Tom Wojcik | 2021-07-26 | 1 | -1/+1 |
| | | | | | | through_fields is a list. Regression in c32d8f33d8e988a376e44997b8f3606d821f305e. | ||||
* | Fixed #32951 -- Removed Query.where_class & co. | Nick Pope | 2021-07-22 | 1 | -2/+2 |
| | | | | Unused since 3caf957ed5eaa831a485abcb89f27266dbf3e82b. | ||||
* | Refs #31926 -- Fixed reverse related identity crash on Q() limit_choices_to. | Simon Charette | 2020-10-05 | 1 | -1/+1 |
| | |||||
* | Fixed #31926 -- Fixed recreating queryset with FilteredRelation when using a ↵ | David-Wobrock | 2020-10-05 | 1 | -0/+35 |
| | | | | | | | pickled Query. In a pickled join, the join_fields had the same values, but weren't the same object (contrary to when not pickling the QuerySet). | ||||
* | Fixed #31952 -- Fixed EmptyFieldListFilter crash with reverse relationships. | Federico Jaramillo Martínez | 2020-08-31 | 1 | -0/+1 |
| | | | | Thanks dacotagh for the report. | ||||
* | Fixed #29919 -- Fixed RelatedOnlyFieldListFilter crash with reverse ↵ | Dan Moore | 2019-10-23 | 1 | -2/+6 |
| | | | | relationships. | ||||
* | Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to ↵ | zeyneloz | 2019-08-15 | 1 | -1/+4 |
| | | | | | | | | respect model's Meta.ordering. Regression in 6d4e5feb79f7eabe8a0c7c4b87f25b1a7f87ca0b. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering. | Hasan Ramezani | 2018-11-14 | 1 | -2/+2 |
| | |||||
* | Normalized spelling of "lowercase" and "lowercased". | Jon Dufresne | 2018-09-25 | 1 | -4/+4 |
| | |||||
* | Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) ↵ | Nicolas Delaby | 2017-09-22 | 1 | -2/+2 |
| | | | | | support. Thanks Anssi Kääriäinen for contributing to the patch. | ||||
* | Refs #16043 -- Refactored internal fields value cache. | Paulo | 2017-08-10 | 1 | -4/+9 |
| | | | | | | | * Removed all hardcoded logic for _{fieldname}_cache. * Added an internal API for interacting with the field values cache. Thanks carljm and MarkusH for support. | ||||
* | Replaced Model._get_pk_val() with pk property. | Tim Graham | 2017-06-05 | 1 | -1/+1 |
| | | | Model.pk was added after _get_pk_val() and many places weren't simplified. | ||||
* | Refs #27795 -- Replaced many force_text() with str() | Claude Paroz | 2017-04-27 | 1 | -2/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-28 | 1 | -4/+4 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -3/+3 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Removed Field.rel and Field.remote_field.to per deprecation timeline. | Tim Graham | 2017-01-17 | 1 | -11/+0 |
| | |||||
* | Replaced smart_* by force_* calls whenever possible | Claude Paroz | 2016-09-03 | 1 | -2/+2 |
| | | | | | The smart_* version should only be used when a lazy string should keep its lazy status. | ||||
* | Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup() | Claude Paroz | 2016-05-04 | 1 | -7/+0 |
| | | | | Thanks Tim Graham for completing the initial patch. | ||||
* | Removed unused ForeignObjectRel.get_choices() limit_to_currently_related ↵ | Tim Graham | 2016-04-22 | 1 | -10/+4 |
| | | | | | | argument. Unused since its introduction in dc334a2ba8dbf5134d65c97fea2785c3b2294ef5. | ||||
* | Fixed E128 flake8 warnings in django/. | Tim Graham | 2016-04-08 | 1 | -7/+6 |
| | |||||
* | Fixed #26230 -- Made default_related_name affect related_query_name. | chenesan | 2016-02-27 | 1 | -5/+0 |
| | |||||
* | Fixed #25560 -- Made empty string related_name invalid. | Simon Charette | 2015-10-16 | 1 | -1/+1 |
| | | | | | Thanks to Ali Lotfi for the initial report and patch and Tim Graham for the review. | ||||
* | Documented "rel objects". | Aymeric Augustin | 2015-09-21 | 1 | -0/+11 |
| | | | | | Kept the docstring short because these objects aren't very well defined and they're in the crosshairs of several refactorings. | ||||
* | Fixed #22341 -- Split django.db.models.fields.related. | Aymeric Augustin | 2015-09-21 | 1 | -0/+304 |
At 2800 lines it was the largest module in the django package. This commit brings it down to a more manageable 1620 lines. Very small changes were performed to uniformize import style. |