sorry typo

test = Test()
test.prop1 = val
test.put()






On Sun, Dec 26, 2010 at 2:26 PM, rj <jainwolver...@gmail.com> wrote:
> For ex:
>
> I created a model
>
> Class Test(db.Model)
>       prop1 = db.StringProperty()
>
> Now in one of my classes function
>
> I would like to do something like this
>
> test = Test()
> test.prop1 - val
>
> If I do something like this now, I am getting this error
>
> raise BadValueError('Property %s is required' % self.name)
> BadValueError: Property picture is required
>
> when creatting an empty model instance !
>
> How to fix this ?
>
>

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

Reply via email to