Seems I found a way around this by overriding the 'save' method on the
model which has the ImageField.

On Mar 19, 1:11 pm, Chris Van Horne <chris.vanho...@gmail.com> wrote:
> Hello,
>
> I am looking to modify ImageField so that the filename saved to disk
> is a hashed (sha1 or md5) digest. I have looked at the documentation
> and it seemed to point me towards subclassing
> django.core.files.storage.Storage but I haven't had any luck--worse,
> I'm not sure if this is the "correct" way to do this.
>
> What would be the best way to go about achieving this functionality?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to