<s> from mongoengine import * <EOL> class User ( Document ) : <EOL> email = StringField ( required = True , unique = True ) <EOL> password = StringField ( required = True ) <EOL> validated = BooleanField ( default = False ) <EOL> type = StringField ( default = '<STR_LIT:user>' ) <EOL> active = BooleanField ( default = True ) </s>
