<s> from django . conf import settings <EOL> from django . db import models <EOL> from markupfield . fields import MarkupField <EOL> from cms . models import ContentManageable <EOL> from companies . models import Company <EOL> from . managers import SponsorQuerySet <EOL> DEFAULT_MARKUP_TYPE = getattr ( settings , '<STR_LIT>' , '<STR_LIT>' ) <EOL> class Sponsor ( ContentManageable ) : <EOL> company = models . ForeignKey ( Company ) <EOL> content = MarkupField ( default_markup_type = DEFAULT_MARKUP_TYPE , blank = True ) <EOL> is_published = models . BooleanField ( default = False , db_index = True ) <EOL> featured = models . BooleanField ( <EOL> default = False , <EOL> db_index = True , <EOL> help_text = "<STR_LIT>" , <EOL> ) <EOL> objects = SponsorQuerySet . as_manager ( ) <EOL> class Meta : <EOL> verbose_name = '<STR_LIT>' <EOL> verbose_name_plural = '<STR_LIT>' <EOL> def __str__ ( self ) : <EOL> return self . company . name </s>
