1. Chun-Ping Chang
  2. confjoke

Source

confjoke / model.py

#!/usr/bin/env python
# encoding: utf-8
"""
model.py

Created by Jeremy Chang on 2010-08-14 13:32:53
Copyright (c) 2010 Jeremy Chang (mrmoneyc). All rights reserved.
"""

from google.appengine.ext import db

class Joke(db.Model):
    jWhen = db.StringProperty()
    jWhere = db.StringProperty()
    jWho = db.StringProperty()
    jWhat = db.StringProperty(multiline=True, required=True)
    date = db.DateProperty(required=True, auto_now_add=True)