<s> from django . db import models <EOL> class Category ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:100> ) <EOL> def __str__ ( self ) : <EOL> return self . name <EOL> class Ingredient ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:100> ) <EOL> notes = models . TextField ( ) <EOL> category = models . ForeignKey ( Category , related_name = '<STR_LIT>' ) <EOL> def __str__ ( self ) : <EOL> return self . name </s>
