Changes between Initial Version and Version 1 of Ticket #23550


Ignore:
Timestamp:
Sep 23, 2014, 12:36:56 PM (10 years ago)
Author:
Loic Bistuer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23550 – Description

    initial v1  
    1 `ReverseSingleRelatedObjectDescriptor.get_queryset()` instantiates a `QuerySet` directly which is problematic because it doesn't account for custom `QuerySet` types and `SingleRelatedObjectDescriptor.get_queryset()` doesn't honor `use_for_related_fields` which is inconsistent with `ReverseSingleRelatedObjectDescriptor`.
     1Both `SingleRelatedObjectDescriptor` and `ReverseSingleRelatedObjectDescriptor` can return `Manager` instances which is inconsistent with the name of the method `get_queryset()`.
     2
     3`ReverseSingleRelatedObjectDescriptor.get_queryset()` instantiates a `QuerySet` directly which is problematic because it doesn't account for custom `QuerySet` types.
     4
     5`SingleRelatedObjectDescriptor.get_queryset()` doesn't honor `use_for_related_fields` which is inconsistent with `ReverseSingleRelatedObjectDescriptor`.
Back to Top