Skip to content

Filter foreign key field by null #11

@mick88

Description

@mick88

I can't seem to find documentation on filtering fields by null value. By logic, Django's isnull=True should work, but it doesn't work for me:
/api/houses/?ownerid__isnull=True doesn't filter houses with no owner

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions