Skip to content

Commit e46fdfc

Browse files
committed
Error in the viewset.
1 parent a218d78 commit e46fdfc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api_v2/views/spell.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ def setup_eager_loading(queryset, depth):
6161
queryset = queryset.select_related(*selects).prefetch_related(*prefetches)
6262
return queryset
6363

64+
6465
class SpellSchoolFilterSet(FilterSet):
6566
class Meta:
66-
model = models.CreatureSet
67+
model = models.SpellSchool
6768
fields = {
6869
'key': ['in', 'iexact', 'exact' ],
6970
'name': ['iexact', 'exact','contains'],

0 commit comments

Comments
 (0)