<s> """<STR_LIT>""" <EOL> from django . db import models <EOL> class CategoryOnlineManager ( models . Manager ) : <EOL> """<STR_LIT>""" <EOL> def get_query_set ( self ) : <EOL> from models import Entry <EOL> entry_status = Entry . STATUS_ONLINE <EOL> return super ( CategoryOnlineManager , self ) . get_query_set ( ) . filter ( <EOL> entries__status = entry_status ) . distinct ( ) <EOL> class EntryOnlineManager ( models . Manager ) : <EOL> """<STR_LIT>""" <EOL> def get_query_set ( self ) : <EOL> return super ( EntryOnlineManager , self ) . get_query_set ( ) . filter ( <EOL> status = self . model . STATUS_ONLINE ) </s>
