diff --git a/api_v2/views/spell.py b/api_v2/views/spell.py index 6ff2a56b..cc6cd920 100644 --- a/api_v2/views/spell.py +++ b/api_v2/views/spell.py @@ -61,9 +61,10 @@ def setup_eager_loading(queryset, depth): queryset = queryset.select_related(*selects).prefetch_related(*prefetches) return queryset + class SpellSchoolFilterSet(FilterSet): class Meta: - model = models.CreatureSet + model = models.SpellSchool fields = { 'key': ['in', 'iexact', 'exact' ], 'name': ['iexact', 'exact','contains'],