<s> from django import template <EOL> register = template . Library ( ) <EOL> @ register . filter ( name = '<STR_LIT>' ) <EOL> def lookup ( lookup_in , index ) : <EOL> if index in lookup_in : <EOL> return lookup_in [ index ] <EOL> return '<STR_LIT>' </s>
