david / django-storages

Support for many storages (S3, MogileFS, etc) in Django.

Clone this repository (size: 192.4 KB): HTTPS / SSH
$ hg clone http://code.welldev.org/django-storages
commit 111: 3602d345b998
parent 110: 4ba06827f5ab
S3 Content-Type fix. Boto overwrites the Header Content-Type setting with its own guess. Changed _save to add the Content-Type to the metadata. The metadata is added to the Header after boto overwrites the Content-Type in the Header. In the case of uploaded files, the file's content_type is ignored and instead mimetypes.guess_type is used instead. This fix checks for content.content_type and if present, uses it instead of mimetypes.guess_type. We needed this fix to properly set the Content-Type when uploading caf files without an extension. defaulttip
echamberlain
4 weeks ago
View at rev
django-storages /
filename size last modified message
docs  
examples  
storages  
.hgignore 150 B 5 months ago Updated setup.py to use distribute.
.hgtags 186 B 5 months ago Added tag 1.1.1 for changeset 374f6d14e307
AUTHORS 713 B 3 months ago Add a mongodb backend, fixes #38, thanks @wkornewald
LICENSE 1.5 KB 20 months ago Add an AUTHORS file, they deserve it
README 315 B 2 years ago Update README + LICENSE
S3.py 20.7 KB 19 months ago Bundle S3 lib and update S3 tests
setup.py 815 B 5 months ago Removing distribute. Causing issues w/PyPI install.

README

===============
Django storages
===============

Install
=======

See http://code.larlet.fr/doc/#django-storage for detailed explanations.

TODO
====

    * Use chunks for S3Storage as in original FileSystemStorage
    * Invite people who work on storages to add them to the repository
    * Add more documentation