<s> from django import template <EOL> from . . models import CodeSample <EOL> register = template . Library ( ) <EOL> @ register . assignment_tag <EOL> def get_code_samples_latest ( limit = <NUM_LIT:5> ) : <EOL> """<STR_LIT>""" <EOL> return CodeSample . objects . published ( ) [ : limit ] </s>
