I think this would be clearer with an if clause in the comprehension:

",".join([content_type + "-index" for content_type in CONTENT_TYPES if request.GET.get(content_type, False)])