Re: Django Form - This field is required.What am I missing.

2012-01-22 Thread Daniel Roseman
On Sunday, 22 January 2012 10:42:53 UTC, Johan wrote: > > Hi I have a form that has a required email field. This due to the fact > that the model requires an email. However, I don't display the email > field on the form. So when the post gets back into my view the email > field is empty. I then

Re: Django Form - This field is required.What am I missing.

2012-01-22 Thread James
On Jan 22, 5:42 am, Johan wrote: > Hi I have a form that has a required email field. This due to the fact > that the model requires an email. However, I don't display the email > field on the form. So when the post gets back into my view the email > field is empty. I then thought I would do the

Django Form - This field is required.What am I missing.

2012-01-22 Thread Johan
Hi I have a form that has a required email field. This due to the fact that the model requires an email. However, I don't display the email field on the form. So when the post gets back into my view the email field is empty. I then thought I would do the following just before the form.is_valid() :