Skip to content

Instantly share code, notes, and snippets.

@emlynoregan
Created July 2, 2015 03:00
Show Gist options
  • Save emlynoregan/3eff90ec352208dfd71d to your computer and use it in GitHub Desktop.
Save emlynoregan/3eff90ec352208dfd71d to your computer and use it in GitHub Desktop.
class Greeting(ndb.Model):
"""Models an individual Guestbook entry with content and date."""
content = ndb.StringProperty()
date = ndb.DateTimeProperty(auto_now_add=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment