I have a StringListProperty field that never passes validation when
submitted as part of a Django form, even though it has been assigned a
default as documented in various other posts.  Why is this?  How can I
have GAE/Django allow this field (text area) to be blank?

from appengine_django.models import BaseModel

class EmailCard(BaseModel):
. . .
  bcc_email = db.StringListProperty(default=[], verbose_name='Bcc
emails (one per line)')
. . .

Additionally, I have tried the following to no avail:

default=None
default='None'
default=[]
default=[u'']
default=['']
default="[]"
required=True,default=[]
required=True, indexed=True, default=[]
default=False

The form class:
class EmailCardForm(djangoforms.ModelForm):
  class Meta:
    model = EmailCard
    exclude = ['created', 'card', 'status']

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to