<s> """<STR_LIT>""" <EOL> from django . db import models <EOL> class Place ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:50> ) <EOL> class Meta : <EOL> ordering = ( '<STR_LIT:name>' , ) <EOL> def __unicode__ ( self ) : <EOL> return u"<STR_LIT>" % self . name <EOL> class Restaurant ( Place ) : <EOL> serves_sushi = models . BooleanField ( ) <EOL> serves_steak = models . BooleanField ( ) <EOL> def __unicode__ ( self ) : <EOL> return u"<STR_LIT>" % self . name <EOL> class Person ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:50> ) <EOL> favorite_restaurant = models . ForeignKey ( Restaurant ) <EOL> def __unicode__ ( self ) : <EOL> return self . name <EOL> __test__ = { '<STR_LIT>' : """<STR_LIT>""" } </s>
