<s> from django . db import models <EOL> from django . utils . encoding import smart_str <EOL> class Post ( models . Model ) : <EOL> title = models . CharField ( max_length = <NUM_LIT:255> , null = False ) <EOL> content = models . TextField ( max_length = <NUM_LIT:255> , null = False ) <EOL> def __str__ ( self ) : <EOL> return smart_str ( self . title ) </s>
