<s> from django . db . models import Manager <EOL> import datetime <EOL> class PublicManager ( Manager ) : <EOL> '''<STR_LIT>''' <EOL> def published ( self ) : <EOL> return self . get_query_set ( ) . filter ( pub_date__lte = datetime . datetime . now ( ) ) </s>
