class RatingSource: PUNKDUCK = 0 FLICKR = 1 class Spot(GeoPoint): like_count = db.IntegerProperty() dislike_count = db.IntegerProperty() source = db.IntegerProperty(default=RatingSource.PUNKDUCK) poi = db.ReferenceProperty(Poi)