'Mark the notification as read.'

@detail_route(methods=['POST'])
def mark_read(self, request, pk=None):

    notification = self.get_object()
    notification.is_read = True
    notification.save()
    return Response(status=status.HTTP_204_NO_CONTENT)
