Skip to content

Filter/Order on Annotated Fields #794

@truesang

Description

@truesang

What is the recommended way to add Django annotated fields to the query and filter/order on them? I've tried to add custom filter method but it looks like I can only filter/order on concrete model fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions