<s> from django . contrib . sites . managers import CurrentSiteManager <EOL> from django . contrib . sites . models import Site <EOL> from django . db import models <EOL> class AbstractArticle ( models . Model ) : <EOL> title = models . CharField ( max_length = <NUM_LIT:50> ) <EOL> objects = models . Manager ( ) <EOL> on_site = CurrentSiteManager ( ) <EOL> class Meta : <EOL> abstract = True <EOL> def __unicode__ ( self ) : <EOL> return self . title <EOL> class SyndicatedArticle ( AbstractArticle ) : <EOL> sites = models . ManyToManyField ( Site ) <EOL> class ExclusiveArticle ( AbstractArticle ) : <EOL> site = models . ForeignKey ( Site ) <EOL> class CustomArticle ( AbstractArticle ) : <EOL> places_this_article_should_appear = models . ForeignKey ( Site ) <EOL> objects = models . Manager ( ) <EOL> on_site = CurrentSiteManager ( "<STR_LIT>" ) <EOL> class InvalidArticle ( AbstractArticle ) : <EOL> site = models . ForeignKey ( Site ) <EOL> objects = models . Manager ( ) <EOL> on_site = CurrentSiteManager ( "<STR_LIT>" ) <EOL> class ConfusedArticle ( AbstractArticle ) : <EOL> site = models . IntegerField ( ) </s>
