Re: Flat file application for binary data?

2010-02-06 Thread John DeRosa
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

Re: Flat file application for binary data?

2010-02-06 Thread John DeRosa
On Feb 5, 2010, at 12:36 PM, Mike Ramirez wrote: > It's built in. > > http://docs.djangoproject.com/en/dev/topics/http/file-uploads/ > > http://docs.djangoproject.com/en/dev/ref/files/storage/ > > Between those two docs, you should be able to do everything you want. AFAIK, > no file

Re: Flat file application for binary data?

2010-02-05 Thread Mike Ramirez
Also check the FileField for info on how django handles files by default. Probably the best starting point. http://docs.djangoproject.com/en/dev/ref/models/fields/#filefield and sending files is a view like this: def project_download(request, project, filename, version): project_file =

Re: Flat file application for binary data?

2010-02-05 Thread Mike Ramirez
On Friday 05 February 2010 10:44:42 John DeRosa wrote: > I'm building a site that will include using lots of image files, audio > clips, and video clips. Including users uploading these things and then > later referencing them. > > I don't want to store this binary data in the database, but

Re: Flat file application for binary data?

2010-02-05 Thread Wayne Koorts
>> Anybody know of an suitable application for this? >> > > 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

Re: Flat file application for binary data?

2010-02-05 Thread Peter Herndon
On Feb 5, 2010, at 1:44 PM, John DeRosa wrote: > I'm building a site that will include using lots of image files, audio clips, > and video clips. Including users uploading these things and then later > referencing them. > > I don't want to store this binary data in the database, but instead

Flat file application for binary data?

2010-02-05 Thread John DeRosa
I'm building a site that will include using lots of image files, audio clips, and video clips. Including users uploading these things and then later referencing them. I don't want to store this binary data in the database, but instead want to store them in disk files. I've looked for a Django