Re: form CharField null vs blank

2011-04-28 Thread bjornsteinarfjeldpetter...@gmail.com
On Apr 29, 7:25 am, Michael Radziej wrote: > On Thu, 28 Apr 2011 06:18:08 -0700, Brian Craft > wrote: > > A form with a CharField seems to end up with a zero-length string in > > the cleaned_data if the field is not in the form data. Is there any > > good way to avoid this? > > Django docs say:

Re: form CharField null vs blank

2011-04-28 Thread Michael Radziej
On Thu, 28 Apr 2011 06:18:08 -0700, Brian Craft wrote: > A form with a CharField seems to end up with a zero-length string in > the cleaned_data if the field is not in the form data. Is there any > good way to avoid this? Django docs say: "Note that empty string values will always get stored as

form CharField null vs blank

2011-04-28 Thread Brian Craft
A form with a CharField seems to end up with a zero-length string in the cleaned_data if the field is not in the form data. Is there any good way to avoid this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to