Commit a2b55e87 authored by Thibaut Broggi's avatar Thibaut Broggi

Remove useless print

parent 567ce597
......@@ -27,6 +27,5 @@ class ArticleTag(viewsets.ModelViewSet, mixins.ListModelMixin):
serializer_class = ArticleSerializer
def list(self, request, *args, **kwargs):
print(kwargs['filter_tag'])
self.queryset = self.queryset.filter(tags__name__in=[kwargs['filter_tag']])
return super().list(request, args, kwargs)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment