<s> """<STR_LIT>""" <EOL> from __future__ import unicode_literals <EOL> from django . db import models <EOL> from django . utils . encoding import python_2_unicode_compatible <EOL> @ python_2_unicode_compatible <EOL> class Person ( models . Model ) : <EOL> first_name = models . CharField ( max_length = <NUM_LIT:20> ) <EOL> last_name = models . CharField ( max_length = <NUM_LIT:20> ) <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( self . first_name , self . last_name ) <EOL> @ python_2_unicode_compatible <EOL> class Car ( models . Model ) : <EOL> make = models . CharField ( max_length = <NUM_LIT:20> ) <EOL> model = models . CharField ( max_length = <NUM_LIT:20> ) <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( self . make , self . model ) <EOL> @ python_2_unicode_compatible <EOL> class Author ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:20> ) <EOL> def __str__ ( self ) : <EOL> return self . name <EOL> @ python_2_unicode_compatible <EOL> class Book ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:20> ) <EOL> authors = models . ManyToManyField ( Author ) <EOL> def __str__ ( self ) : <EOL> return self . name </s>
