<s> from __future__ import unicode_literals <EOL> from django . db import models <EOL> from django . utils . encoding import python_2_unicode_compatible <EOL> from markitup . fields import MarkupField <EOL> @ python_2_unicode_compatible <EOL> class Post ( models . Model ) : <EOL> title = models . CharField ( max_length = <NUM_LIT:50> ) <EOL> body = MarkupField ( ) <EOL> def __str__ ( self ) : <EOL> return self . title <EOL> class AbstractParent ( models . Model ) : <EOL> content = MarkupField ( ) <EOL> class Meta : <EOL> abstract = True <EOL> class NoRendered ( models . Model ) : <EOL> """<STR_LIT>""" <EOL> body = MarkupField ( no_rendered_field = True ) <EOL> class CallableDefault ( models . Model ) : <EOL> """<STR_LIT>""" <EOL> body = MarkupField ( default = lambda : '<STR_LIT>' ) </s>
