<s> from django . db import models <EOL> class CronJobLog ( models . Model ) : <EOL> """<STR_LIT>""" <EOL> code = models . CharField ( max_length = <NUM_LIT:64> , db_index = True ) <EOL> start_time = models . DateTimeField ( db_index = True ) <EOL> end_time = models . DateTimeField ( db_index = True ) <EOL> is_success = models . BooleanField ( default = False ) <EOL> message = models . TextField ( default = '<STR_LIT>' , blank = True ) <EOL> """<STR_LIT>""" <EOL> ran_at_time = models . TimeField ( null = True , blank = True , db_index = True , editable = False ) <EOL> def __unicode__ ( self ) : <EOL> return '<STR_LIT>' % ( self . code , '<STR_LIT>' if self . is_success else '<STR_LIT>' ) <EOL> class Meta : <EOL> index_together = [ <EOL> ( '<STR_LIT:code>' , '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ( '<STR_LIT:code>' , '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ( '<STR_LIT:code>' , '<STR_LIT>' ) <EOL> ] <EOL> app_label = '<STR_LIT>' </s>
