Skip to content

Conversation

@mtsrc
Copy link

@mtsrc mtsrc commented May 28, 2025

The filter didn't work with date fields of a related model (e.g. foreignkey__date instead of date directly), because in these cases self.field.name only returned date and omitted the relational part. Using field_path works for both situations.

mtsrc and others added 2 commits May 28, 2025 11:38
The filter didn't work with date fields of a related model (e.g. `foreignkey__date` instead of `date`directly), because in these cases `self.field.name` only returned `date` and omitted the relational part. Using `field_path` works for both situations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant