On Feb 5, 2010, at 1:27 PM, Peter Herndon wrote:

> FileFields and ImageFields are by default stored on disk, with just a pointer 
> stored in the db.  For more examples, take a look at David Larlet's 
> django-storages (http://code.welldev.org/django-storages/wiki/Home) and 
> Justin Driscoll's ImageKit 
> (http://bitbucket.org/jdriscoll/django-imagekit/wiki/Home), both of which 
> should give you at least a starting point.  With ImageKit, for example, you 
> create a "spec" for your image fields, and part of the spec is a means of 
> determining the filesystem storage location (including a method you can 
> define if you need to).
> 

Looking at the django-storages code gave me some useful ideas. Thanks, Peter.

John

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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