<s> from django . contrib . auth . models import User <EOL> from django . db import models <EOL> class Post ( models . Model ) : <EOL> user = models . ForeignKey ( User , related_name = '<STR_LIT>' ) <EOL> title = models . CharField ( max_length = <NUM_LIT> ) <EOL> slug = models . SlugField ( blank = True ) <EOL> content = models . TextField ( default = '<STR_LIT>' , blank = True ) <EOL> posted_on = models . DateTimeField ( auto_now_add = True ) <EOL> updated_on = models . DateTimeField ( auto_now = True ) <EOL> class Meta ( object ) : <EOL> ordering = [ '<STR_LIT>' , '<STR_LIT:title>' ] <EOL> def __str__ ( self ) : <EOL> return self . title </s>
