1👍
✅
The easy way is to use django send_file[1] to do it. This is easy to implement but does not scale well. I use it to serve dynamically generated reports. The only advantage of this solution is that it’s all python code.
The better way is to use the information on sanmai’s links. You can also take a look here: http://www.sensibledevelopment.com/2010/11/django-sendfile-an-for-abstraction-large-file-serving-in-django/ for some django specific information.
1👍
Use one or more MD5 hexdigest of some attribute as part of the image path; the path will be pretty random.
- [Answered ]-Slider for bootstrap with multiple sliders
- [Answered ]-Django and Ajax security concern
- [Answered ]-Can't get static URL to work in CSS
- [Answered ]-Django "ImproperlyConfigured", but not always
Source:stackexchange.com