<s> from future . utils import python_2_unicode_compatible <EOL> from django . db import models <EOL> from django . utils . translation import ugettext_lazy as _ <EOL> from fluent_contents . models import ContentItem <EOL> from form_designer . models import FormDefinition <EOL> @ python_2_unicode_compatible <EOL> class FormDesignerLink ( ContentItem ) : <EOL> form_definition = models . ForeignKey ( FormDefinition , verbose_name = _ ( '<STR_LIT>' ) ) <EOL> class Meta : <EOL> verbose_name = _ ( '<STR_LIT>' ) <EOL> verbose_name_plural = _ ( '<STR_LIT>' ) <EOL> def __str__ ( self ) : <EOL> return self . form_definition . title if self . form_definition else u'<STR_LIT>' </s>
