Re: referencing the object id from clean validation methods

2009-05-17 Thread simondav
thanks for that alex On May 16, 9:53 pm, Ramiro Morales wrote: > On Sat, May 16, 2009 at 5:18 PM, Alex Gaynor wrote: > > > On Sat, May 16, 2009 at 3:03 PM, simon101 wrote: > > >> Hi > > >> I am using ModelForms to create forms from

Re: referencing the object id from clean validation methods

2009-05-16 Thread Ramiro Morales
On Sat, May 16, 2009 at 5:18 PM, Alex Gaynor wrote: > > > On Sat, May 16, 2009 at 3:03 PM, simon101 wrote: >> >> Hi >> >> I am using ModelForms to create forms from the models [...] >> but  it doesn't contain the id >> for the object id for the object

Re: referencing the object id from clean validation methods

2009-05-16 Thread Alex Gaynor
On Sat, May 16, 2009 at 3:03 PM, simon101 wrote: > > Hi > > I am using ModelForms to create forms from the models, and using the > clean_field and clean methods to validate the fields and form data as > a whole. I get the self.cleaned_data[] dictionary which contains all >

referencing the object id from clean validation methods

2009-05-16 Thread simon101
Hi I am using ModelForms to create forms from the models, and using the clean_field and clean methods to validate the fields and form data as a whole. I get the self.cleaned_data[] dictionary which contains all the cleaned up data from the html form, but it doesn't contain the id for the