To reply to my own post. I've found that this has already been
reported as an issue:

http://code.google.com/p/googleappengine/issues/detail?id=633&q=expando&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log

Please star this as it seems to be a genuine bug which needs to be
fixed.



On 25 Sep, 00:38, gadgster <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to