Hi arnie, Simply leave out the 'required' parameter altogether; the default is for it to be optional.
-Nick Johnson On Tue, May 26, 2009 at 5:16 AM, arnie <[email protected]> wrote: > > Can't we declare a datetime property column for a model as > dob= db.DateTimeProperty(required=false) > Actually my dob field may sometimes contains numm dates but when I try > to use the above declaration, it does not work. > Any idea? > Thanks > arnieterm > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
