Skip to content

Comments

Fix filter by non-model fields#322

Open
reinert wants to merge 1 commit intoAltSchool:masterfrom
reinert:patch-1
Open

Fix filter by non-model fields#322
reinert wants to merge 1 commit intoAltSchool:masterfrom
reinert:patch-1

Conversation

@reinert
Copy link

@reinert reinert commented Aug 27, 2021

When filtering by non-model fields (e.g. annotated fields) FilterNode throws AttributeError because the field doesn't exist in the model. This simple if condition solves such broken path.

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