johnmnemonik / django-photologue

Automatically exported from code.google.com/p/django-photologue
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Support User Specified FileSystemStorage for ImageField #168

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, the current svn trunk does not support user-specified storage system for 
the ImageField in photologue.models.ImageModel. So I added several lines to 
allow the user to specify a custom storage system which will be used by 
ImageField.  

The user should be able to specify a custom storage system in settings, like:
PHOTOLOGUE_IMAGE_STORAGE = MyStorage(arguments...)

Attached is a diff against the trunk.

Please let me know what you think.
Xiaonuo

Original issue reported on code.google.com by Xiaonuo....@gmail.com on 8 Dec 2011 at 12:23

Attachments: