<s> from django . utils . translation import ugettext as _ <EOL> def mark_as_published ( self , request , queryset ) : <EOL> "<STR_LIT>" <EOL> for post in queryset : <EOL> post . status = '<STR_LIT:p>' <EOL> post . save ( ) <EOL> mark_as_published . short_description = _ ( '<STR_LIT>' ) <EOL> def mark_as_draft ( self , request , queryset ) : <EOL> "<STR_LIT>" <EOL> for post in queryset : <EOL> post . status = '<STR_LIT:d>' <EOL> post . save ( ) <EOL> mark_as_draft . short_description = _ ( '<STR_LIT>' ) </s>
