<s> """<STR_LIT>""" <EOL> from django . db import models <EOL> class SystemDetails ( models . Model ) : <EOL> details = models . TextField ( ) <EOL> class SystemInfo ( models . Model ) : <EOL> system_details = models . ForeignKey ( SystemDetails ) <EOL> system_name = models . CharField ( max_length = <NUM_LIT:32> ) <EOL> class Forum ( models . Model ) : <EOL> system_info = models . ForeignKey ( SystemInfo ) <EOL> forum_name = models . CharField ( max_length = <NUM_LIT:32> ) <EOL> class Post ( models . Model ) : <EOL> forum = models . ForeignKey ( Forum , null = True ) <EOL> title = models . CharField ( max_length = <NUM_LIT:32> ) <EOL> def __unicode__ ( self ) : <EOL> return self . title <EOL> class Comment ( models . Model ) : <EOL> post = models . ForeignKey ( Post , null = True ) <EOL> comment_text = models . CharField ( max_length = <NUM_LIT> ) <EOL> class Meta : <EOL> ordering = ( '<STR_LIT>' , ) <EOL> def __unicode__ ( self ) : <EOL> return self . comment_text <EOL> class Item ( models . Model ) : <EOL> title = models . CharField ( max_length = <NUM_LIT:100> ) <EOL> class PropertyValue ( models . Model ) : <EOL> label = models . CharField ( max_length = <NUM_LIT:100> ) <EOL> class Property ( models . Model ) : <EOL> item = models . ForeignKey ( Item , related_name = '<STR_LIT>' ) <EOL> key = models . CharField ( max_length = <NUM_LIT:100> ) <EOL> value = models . ForeignKey ( PropertyValue , null = True ) </s>
