Django Dynamic Media Serve is the good alternative of the default django.views.static.serve for serving the media files in Django. You can simply set just one line in urls.py.
At first, Django Dynamic Media Serve was developed for web album application, which handles enoumous image thumbnails and huge javascript files and each time when new files is added, creating thumbnail and compressing javascript files is so painful, so we wrote this Django Dynamic Media Serve to dynamically handle various media files in runtime without using any already-created file, especially image files.
http://code.google.com/p/django-dynamic-media-serve/
- SVG
- images(png, gif, jpeg, etc which can be supported by PIL).
- javascript
- any other files.
If you need to fetch the media from outside of your media repository, Django Dynamic Media Serve support the ourside media. It can be useful for Cross-Domain access in Ajax script.
posted on 2009-04-03 15:46
周锐 阅读(387)
评论(0) 编辑 收藏 所属分类:
Python