diff --git a/api_v2/models/document.py b/api_v2/models/document.py index 36147ebb..e3a5aeda 100644 --- a/api_v2/models/document.py +++ b/api_v2/models/document.py @@ -145,9 +145,7 @@ def get_absolute_url(self): return reverse(self.__name__, kwargs={"pk": self.pk}) def search_result_extra_fields(self): - return { - "school":self.school.key, - } + return class Meta: abstract = True \ No newline at end of file