Re: Accessing Form Data in Form Object

2009-07-17 Thread Shawn Milochik
Try using form.data.initial to get the text only. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this grou

Re: Accessing Form Data in Form Object

2009-07-16 Thread Tom Evans
On Thu, 2009-07-16 at 07:37 -0700, clea wrote: > Hello- > So I have the following issue and have not been able to find a > solution to it anywhere! I have the following ModelForm object: > > class OptionForm(ModelForm): > class Meta: > model = Option > > based on the followin

Accessing Form Data in Form Object

2009-07-16 Thread clea
Hello- So I have the following issue and have not been able to find a solution to it anywhere! I have the following ModelForm object: class OptionForm(ModelForm): class Meta: model = Option based on the following Option object: class Option(models.Model): stem =