Skip to content

Commit 6f3cabe

Browse files
committed
added more v2 spell filtering options
1 parent 991ab7c commit 6f3cabe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api_v2/views/spell.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ class Meta:
1515
'document__key': ['in', 'iexact', 'exact'],
1616
'document__ruleset__key': ['in', 'iexact', 'exact'],
1717
'classes__key': ['in', 'iexact', 'exact'],
18+
'classes__name': ['in'],
1819
'level': ['exact', 'range', 'gt', 'gte', 'lt', 'lte'],
1920
'range': ['exact', 'range', 'gt', 'gte', 'lt', 'lte'],
21+
'school__key': ['exact'],
2022
'school__name': ['in', 'iexact', 'exact'],
2123
'duration': ['in', 'iexact', 'exact'],
2224
'concentration': ['exact'],

0 commit comments

Comments
 (0)