def update_topic_counter(sender, topic, user, request, response, **kwargs):
    """ Handles the update of the views counter associated with topics. """
    topic.__class__._default_manager.filter(id=topic.id).update(views_count=F('views_count') + 1)
Handles the update of the views counter associated with topics.