- return HttpResponse(',\n'.join(Subscription.objects.values_list('email', flat=True)), content_type='text/plain')
+ active_subscriptions = Subscription.objects.filter(active=True)
+ return HttpResponse(',\n'.join(active_subscriptions.values_list('email', flat=True)),
+ content_type='text/plain')