Poar is a WSGI Application inside a Google App Engine Web App that handles data storage for your CRUD application and uses REST Protocol. I created it for my protoype applications where I needed a fast way to support this.
- url: /data.*
script: Poar.py
class DictModel(db.Model):
def to_dict(self):
temp = dict([(p, unicode(getattr(self, p))) for p in self.properties()])
temp["id"] = unicode(self.key().id())
return temp
class Store(DictModel):
name = db.StringProperty()
content = db.TextProperty()
typeo = db.StringProperty()
date = db.DateTimeProperty()
owner = db.UserProperty()