On Jun 23, 2:41 pm, Bryan Veloso <[EMAIL PROTECTED]> wrote:
> > for n in range(0, MAX_NUM_UPLOADS):
> > img_manip = ImageAttachment.AddManipulator()
> > img_obj = img_manip.save()
> > uploaded = clean_data['img_fld%d' % n]
> > obj.save_image_file(uploaded['filename'], uploaded['con
> for n in range(0, MAX_NUM_UPLOADS):
> img_manip = ImageAttachment.AddManipulator()
> img_obj = img_manip.save()
> uploaded = clean_data['img_fld%d' % n]
> obj.save_image_file(uploaded['filename'], uploaded['content'])
What library did you have to import to get ImageAttachment to
On 6/23/07, Bryan Veloso <[EMAIL PROTECTED]> wrote:
>
> > Can't paste the code from the actual app (am under NDA) but the logic
> > in saving the image from form data is here:
> >
> > http://dpaste.com/12731/
>
> The only problem with this, and probably why I'm looking to use #3297
> (which actual
> Can't paste the code from the actual app (am under NDA) but the logic
> in saving the image from form data is here:
>
> http://dpaste.com/12731/
The only problem with this, and probably why I'm looking to use #3297
(which actually didn't work too well anyway), is because I have as
many as 15 fi
On 6/22/07, Dirk van Oosterbosch, IR labs <[EMAIL PROTECTED]> wrote:
> This is what I did for the field validation http://dpaste.com/12715/
>
> the code to save the field data is in the view that uses this form.
> Nice! Would you maybe be willing to share your view code too?
Can't paste the code
On 22-jun-2007, at 6:22, Nimrod A. Abing wrote:
> I have managed to do
> so either by processing in the view or extending the form. As of now,
> all processing of all forms occur in the view and validation for file
> and image fields in a method of the form.
>
> This is what I did for the field v
> You can always write the code to process File/Image fields in the view
> or just extend your form to handle them properly. I have managed to do
> so either by processing in the view or extending the form. As of now,
> all processing of all forms occur in the view and validation for file
> and im
On 6/22/07, Bryan Veloso <[EMAIL PROTECTED]> wrote:
>
> RE: http://code.djangoproject.com/ticket/3297
>
> I'm wondering if anybody has actually used this patch for a production
> site. If not, then I'll put off a certain feature of my site until
> later. The patch is really tempting though, so I w
8 matches
Mail list logo