The serializer is a response in JSON format for an API call. It won’t be used when generating a page’s HTML.
Those tags are using the TopicView model, so you’ll have to extend it using add_to_class instead of add_to_serializer.
The serializer is a response in JSON format for an API call. It won’t be used when generating a page’s HTML.
Those tags are using the TopicView model, so you’ll have to extend it using add_to_class instead of add_to_serializer.