Skip to content
Snippets Groups Projects
Commit 5aa5c897 authored by Branson Stephens's avatar Branson Stephens
Browse files

removed global tag detail view since meaning unknown

parent caebd6b4
No related branches found
No related tags found
No related merge requests found
......@@ -624,9 +624,12 @@ class TagList(APIView):
def get(self, request):
# Return a list of links to all tag objects.
rv = {
'tags' : [ reverse("tag-detail", args=[tag.name],
request=request)
for tag in Tag.objects.all() ]
# 'tags' : [ reverse("tag-detail", args=[tag.name],
# request=request)
# for tag in Tag.objects.all() ]
# For now, we just output the tag names, since we don't know what
# tag-detail should look like.
'tags' : [ tag.name for tag in Tag.objects.all() ]
}
return Response(rv)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment