<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 Article ( models . Model ) : <EOL> Article_ID = models . AutoField ( primary_key = True , db_column = '<STR_LIT>' ) <EOL> headline = models . CharField ( max_length = <NUM_LIT:100> ) <EOL> authors = models . ManyToManyField ( '<STR_LIT>' , db_table = '<STR_LIT>' ) <EOL> primary_author = models . ForeignKey ( '<STR_LIT>' , db_column = '<STR_LIT>' , related_name = '<STR_LIT>' ) <EOL> def __str__ ( self ) : <EOL> return self . headline <EOL> class Meta : <EOL> ordering = ( '<STR_LIT>' , ) <EOL> @ python_2_unicode_compatible <EOL> class Author ( models . Model ) : <EOL> Author_ID = models . AutoField ( primary_key = True , db_column = '<STR_LIT>' ) <EOL> first_name = models . CharField ( max_length = <NUM_LIT:30> , db_column = '<STR_LIT>' ) <EOL> last_name = models . CharField ( max_length = <NUM_LIT:30> , db_column = '<STR_LIT>' ) <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' % ( self . first_name , self . last_name ) <EOL> class Meta : <EOL> db_table = '<STR_LIT>' <EOL> ordering = ( '<STR_LIT>' , '<STR_LIT>' ) </s>
