<s> import datetime <EOL> from flask . ext . mongoengine import MongoEngine <EOL> db = MongoEngine ( ) <EOL> class Todo ( db . Document ) : <EOL> title = db . StringField ( max_length = <NUM_LIT> ) <EOL> text = db . StringField ( ) <EOL> done = db . BooleanField ( default = False ) <EOL> pub_date = db . DateTimeField ( default = datetime . datetime . now ) </s>
