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 I
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 uploads
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 = get
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 inst
>> 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 Drisc
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 wa
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
7 matches
Mail list logo