Re: since I don't have a blob property...need help with files

2008-07-11 Thread Jon Brisbin
These changes sound like just what I need. Thanks for the explanations. I update my SVN checkout almost every day, so I'll be on the lookout for these changes... Thanks! Jon Brisibn http://jbrisbin.com On Jul 11, 2008, at 8:51 AM, Marty Alchin wrote: > > On Fri, Jul 11, 2008 at 9:08 AM, Jon

Re: since I don't have a blob property...need help with files

2008-07-11 Thread Jon Brisbin
Awesome! Thanks! Jon Brisibn http://jbrisbin.com On Jul 11, 2008, at 8:37 AM, Malcolm Tredinnick wrote: > > > On Fri, 2008-07-11 at 08:35 -0500, Jon Brisbin wrote: >> I've considered a custom field. I just don't think I know Django well >> enough yet to pull it off quickly. I'm still learning t

Re: since I don't have a blob property...need help with files

2008-07-11 Thread Marty Alchin
On Fri, Jul 11, 2008 at 9:08 AM, Jon Brisbin <[EMAIL PROTECTED]> wrote: > I was a little bummed to discover that the Postgres blob support we depend > on at work I can't use through Django in a project for myself. I'm trying to > keep multiple versions of an original document (including the embedd

Re: since I don't have a blob property...need help with files

2008-07-11 Thread Malcolm Tredinnick
On Fri, 2008-07-11 at 08:35 -0500, Jon Brisbin wrote: > I've considered a custom field. I just don't think I know Django well > enough yet to pull it off quickly. I'm still learning the basics and > this advanced usage of it is a little beyond my understanding at the > moment. I could probably f

Re: since I don't have a blob property...need help with files

2008-07-11 Thread Jon Brisbin
I've considered a custom field. I just don't think I know Django well enough yet to pull it off quickly. I'm still learning the basics and this advanced usage of it is a little beyond my understanding at the moment. I could probably figure it out, but I don't know how long that would take

Re: since I don't have a blob property...need help with files

2008-07-11 Thread Karen Tracey
On Fri, Jul 11, 2008 at 9:08 AM, Jon Brisbin <[EMAIL PROTECTED]> wrote: > I was a little bummed to discover that the Postgres blob support we depend > on at work I can't use through Django in a project for myself. > Have you considered writing a custom field? http://www.djangoproject.com/documen

since I don't have a blob property...need help with files

2008-07-11 Thread Jon Brisbin
I was a little bummed to discover that the Postgres blob support we depend on at work I can't use through Django in a project for myself. I'm trying to keep multiple versions of an original document (including the embedded content that's inside the file) and had planned on using blobs to st

Re: Help with Files

2007-03-05 Thread [EMAIL PROTECTED]
Well... I'm honestly just treating the file name in the database as a varchar field ... because after I upload my files... I rename them with a uniqueid, and move them to specific directories based on that ID...but anyhow... below is the code for the basic idea... I've parsed out some of my projec

Re: Help with Files

2007-03-05 Thread Gerard M
I would love to see that code Carole thanks a lot, and if you used some kind of class definition to use it with the database and the view you created I would love to have a look at that one too as well, thanks On 5 mar, 14:23, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I ended up using an o

Re: Help with Files

2007-03-05 Thread [EMAIL PROTECTED]
I ended up using an old fashioned form to post files with standard python code (inside of a view though), because I didn't like the way django handled them. I can post a sample of that if you like . On Mar 5, 2:06 pm, "Gerard M" <[EMAIL PROTECTED]> wrote: > Hello, im very new to django a

Help with Files

2007-03-05 Thread Gerard M
Hello, im very new to django and python, I've read the tutorials and the django beta book, but there is one thing I dont see covered and I need to know hot to do it for a project, any help is welcome. The main problem is that I dont know how can I upload a file to the server to be procesed using s