Skip to content

get_queryset support #13

@drvid

Description

@drvid

Hi great package I like the minimalist CBV and Django-integrated pagination approach.

Unfortunately, the sorting is ignored when overriding get_queryset class method on SortableListViews. As in, it only works for CBV with queryset = ... field attributes.

AFAIK get_queryset is still the recommended approach for modifying a ListView qs based on request context variables. In my case, trying to sort paginated tables of model objects filtered by a user who's username is specified in the url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions