<s> from django . db import models <EOL> try : <EOL> from django . utils . timezone import now <EOL> now <EOL> except ImportError : <EOL> import datetime <EOL> now = datetime . datetime . now <EOL> class Migration ( models . Model ) : <EOL> migration_label = models . CharField ( max_length = <NUM_LIT:200> ) <EOL> date_created = models . DateTimeField ( default = now ) <EOL> content = models . TextField ( ) <EOL> scm_version = models . CharField ( max_length = <NUM_LIT:50> , null = True , blank = True ) <EOL> def __unicode__ ( self ) : <EOL> return unicode ( "<STR_LIT>" % ( self . migration_label , self . scm_version ) ) </s>
