DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to send file in django response
from django.http import FileResponse ... ... response = FileResponse(open('myfile.png', 'rb'))
Source by docs.djangoproject.com #
PREVIOUS
NEXT
Tagged:
#send
#file
#django
#response
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit