Django HTTP Resposta 204

from django.http import HttpResponse

def my_view(request):
  return HttpResponse(status'204')
Lovely Coder