Yes. But it's not usable when we're using JavaScript to fetch the url.

On Sat, 17 Nov, 2018, 9:20 PM Jason <[email protected] wrote:

> oh, I didn't know that was a thing.  TIL.
>
>
> https://docs.djangoproject.com/en/2.1/ref/request-response/#django.http.FileResponse
>
> note the bit about as_attachment setting content disposition
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a950f7f3-2e7e-490d-b271-3125829a9376%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/a950f7f3-2e7e-490d-b271-3125829a9376%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA%3Diw_8mx5-wsdR39naUt%2BPYiTCGP5dD%2BMCJ8QObB9%2BLGxGqrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to