We got the same error. Anybody knows something ?
Regards. Moisés Belchín. 2012/10/17 Ajit <[email protected]> > Hi All, > > Hope all are fine. > > I have a issue. Hope some of you can give me a solution. > > In a model, I have given auto_now_add = True for a field creationDate. I > have a clean_data for another field with a check if(creationDate). I have > this check because some records in my datastore don't have creationDate. > > My issue is that, when the records with no creationDate, django(that I am > using) fills the creationDate with current date. So I can't validate the > field. I thought it would return None if there is no data. > > How can I return the actual value(if value->then value, if no value -> > then None) for the fields having auto_now_add = True? > > Thanks, > Ajith > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/RQurw1DpZmQJ. > 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. > -- 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.
