Sorry for the late reply. I did as you suggested - overrided form's
clean method.For example when I did sth like this:
Template:
{{carForm.as_p}}
{{carPhotoForm.as_p}}
Model:
class Car(models.Model):
car_type = models.IntegerField()
On Mon, 2009-03-23 at 17:46 +0100, Marek Wawrzyczek wrote:
> I'd like to make a page, where the user will be able to edit a data of
> his account and add photos. There will be 2 buttons: add photo, and
> submit form. Add photo button will cause adding a photo to the server,
> so the form will be
I'd like to make a page, where the user will be able to edit a data of his
account and add photos. There will be 2 buttons: add photo, and submit form.
Add photo button will cause adding a photo to the server, so the form will
be submited, and then in the response generated by django (so that the
On Mon, 2009-03-23 at 00:59 +0100, Marek Wawrzyczek wrote:
> Hi
>
> Is there any possibility, to create an bound instance of a form (even if
> it contains fields with incorrect data) and then resend the form to the
> page without validating ?
>
Almost certainly yes, since there's nothing to
Hi
Is there any possibility, to create an bound instance of a form (even if
it contains fields with incorrect data) and then resend the form to the
page without validating ?
Regards,
Marek
--~--~-~--~~~---~--~~
You received this message because you are
5 matches
Mail list logo