<s> from django . db import models <EOL> import base64 <EOL> class ProbeRunSort ( models . Model ) : <EOL> """<STR_LIT>""" <EOL> sort_name = models . CharField ( max_length = <NUM_LIT:100> , db_index = True , unique = True ) <EOL> sort_rank = models . IntegerField ( ) <EOL> def __unicode__ ( self ) : <EOL> return self . sort_name + "<STR_LIT:U+0020>" + str ( self . sort_rank ) <EOL> class ProbeRun ( models . Model ) : <EOL> """<STR_LIT>""" <EOL> date = models . DateTimeField ( auto_now_add = True ) <EOL> source_name = models . CharField ( max_length = <NUM_LIT:100> , db_index = True ) <EOL> sort_rank = models . ForeignKey ( ProbeRunSort , null = True ) <EOL> description = models . CharField ( max_length = <NUM_LIT> ) <EOL> branch = models . CharField ( max_length = <NUM_LIT:100> , null = True , blank = True ) <EOL> def __unicode__ ( self ) : <EOL> return self . source_name + "<STR_LIT:U+0020>" + self . description + "<STR_LIT:U+0020>" + str ( self . date ) </s>
