What if i don't want to add this additional feature?.

On Monday, June 24, 2019 at 6:44:22 PM UTC+5:30, Nishant Boro wrote:
>
> You can use this simple module:
>
> https://github.com/nishant-boro/django-rest-framework-download-expert
>
> This module provides a simple way to serve files for download in django 
> rest framework using Apache module Xsendfile. It also has an additional 
> feature of serving downloads only to users belonging to a particular group
>
> On Thursday, May 26, 2011 at 3:04:20 PM UTC+5:30, Kann wrote:
>>
>> Dear all, 
>>
>> I am new to django and still kinda confused about how to handle 
>> download link using django. What I did up to now was having a file 
>> handle and point that handle to django's File object. So, now I have 
>> django file object but I don't know how to incorporate that file 
>> object into my template. Doing somefile.name will only give the file 
>> name on the template, though; but how do I create a downloadable link 
>> for that file from that on my template? 
>>
>> Best, 
>>
>> Kann
>
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d3945b94-9653-42c2-a714-b0e741c65ed7%40googlegroups.com.

Reply via email to