8 lines
174 B
Python
8 lines
174 B
Python
from django.http import HttpResponse
|
|
|
|
def json_response(context):
|
|
response = HttpResponse(context)
|
|
response['Content-Type'] = 'application/pdf'
|
|
return response
|
|
|
|
|