Skip to content

Instantly share code, notes, and snippets.

@hideki
Created April 30, 2012 01:53
Show Gist options
  • Save hideki/2554848 to your computer and use it in GitHub Desktop.
Save hideki/2554848 to your computer and use it in GitHub Desktop.
AppEngine DataStore Model which is disabled index
class Post(db.Model):
id = db.StringProperty(required=True, indexed=False)
from_name = db.StringProperty(required=True, indexed=False)
from_id = db.StringProperty(required=True, indexed=False)
message = db.TextProperty(required=False, indexed=False)
type = db.StringProperty(required=False, indexed=False)
created_time = db.StringProperty(required=False, indexed=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment