+class EntryType(object):
+ def __init__(self, db, slug, commentable=False, on_main=False,
+ promotable=False, categorized=False):
+ self.db = db
+ self.slug = slug
+ self.commentable = commentable
+ self.on_main = on_main
+ self.promotable = promotable
+ self.categorized = categorized
+