Skip to content

Commit

Permalink
FAQ glossary fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joahim committed Nov 25, 2021
1 parent fbed2ee commit ca42d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sledilnik/faq/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def dehydrate(self, bundle):
class GlossaryTermResource(ModelResource):
class Meta:
queryset = GlossaryTerm.objects.all()
fields = ["position", "term", "definition"]
fields = ["position", "slug", "term", "definition"]
cache = SimpleCache(timeout=60, public=True)

def dehydrate(self, bundle):
Expand Down

0 comments on commit ca42d50

Please sign in to comment.