I have this model
class SiteUser(db.Model):
site_user = db.UserProperty()
total_votes = db.IntegerProperty(default=1)
liked_items = db.StringProperty()
class Item(db.Model):
user_who_liked_this_item = db.UserProperty()
title = db.StringProperty()
url = db.StringProperty()
date = db.DateTimeProperty(auto_now_add=True)
points = db.IntegerProperty(default=1)
Item
table is created but SiteUser
table is not created. Can anyone help me understand what I am doing wrong?
Thanks?
There are no 'tables' on App Engine. A kind will show up in the datastore viewer if you have inserted at least one record with that kind; my guess is that you haven't inserted any SiteUser
entities into the datastore.