<s> from django . db import models <EOL> from django . utils . encoding import python_2_unicode_compatible <EOL> @ python_2_unicode_compatible <EOL> class Author ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:20> ) <EOL> age = models . IntegerField ( null = True ) <EOL> birthdate = models . DateField ( null = True ) <EOL> average_rating = models . FloatField ( null = True ) <EOL> def __str__ ( self ) : <EOL> return self . name <EOL> @ python_2_unicode_compatible <EOL> class MySQLUnixTimestamp ( models . Model ) : <EOL> timestamp = models . PositiveIntegerField ( ) <EOL> def __str__ ( self ) : <EOL> return self . name </s>
