Hello,
This is probably a newbie question. I'm having problems using the
expando model class. I have a model which works fine like this:
class childModel(db.Model):
user=db.UserProperty()
forename=db.StringProperty(verbose_name="Child's forename",
required=True)
gender=db.StringProperty(verbose_name="Gender", choices=["Boy",
"Girl"])
dob=db.DateProperty(verbose_name="Date of Birth")
If I change this model to the db.Expando class then when I fetch an
entity I get the error message "BadValueError: Property dob must be a
date, not a datetime". I can't see the reason for this.
Any advice appreciated.
Richard
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---