-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(relations): limit the number of subj/obj models in filter
Replace the "hardcoded" `subj_class` and `obj_class` filters in the RelationFilterSet with more dynamic versions that take a list of models that can be possilbe choices. If there is only one choice, the filter is simply not added. Closes: #1390
- Loading branch information
Showing
1 changed file
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters