<s> from django . conf import settings <EOL> from django . utils . translation import ugettext_lazy as _ <EOL> DRAFTED = getattr ( settings , '<STR_LIT>' , <NUM_LIT:1> ) <EOL> PUBLISHED = getattr ( settings , '<STR_LIT>' , <NUM_LIT:2> ) <EOL> REMOVED = getattr ( settings , '<STR_LIT>' , <NUM_LIT:3> ) <EOL> STATUS_CHOICES = ( <EOL> ( DRAFTED , _ ( u'<STR_LIT>' ) ) , <EOL> ( PUBLISHED , _ ( u'<STR_LIT>' ) ) , <EOL> ( REMOVED , _ ( u'<STR_LIT>' ) ) , <EOL> ) <EOL> STATUS_CHOICES = getattr ( settings , '<STR_LIT>' , STATUS_CHOICES ) <EOL> try : <EOL> from haystack . indexes import SearchIndex <EOL> SEARCH_INDEX = getattr ( settings , '<STR_LIT>' , SearchIndex ) <EOL> except ImportError : <EOL> SEARCH_INDEX = None </s>
