Hi,
I cant complete something seemingly very simple.
I simply want to create the following object (Auction)
auction =Auction(title, desc)
class Auction(db.Model):
title = db.StringProperty()
description = db.StringProperty()
def __init__(self, title, desc):
self.title = title
self.desc = desc
This code is trimmed down from the full version, could you tell me if
im doing anything fundamentally wrong with the __init__ function.
Thank you for your time,
Elliott
App Engine reports:
AttributeError: 'Auction' object has no attribute '_entity'
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---