#NEWLINE# @ tag ( register , [ Model ( ) , Variable ( ) , Optional ( [ Constant ( 'as' ) , Name ( ) ] ) ] ) #NEWLINE# def test_tag_2( context , model , limit , asvar = None ) : #NEWLINE# #INDENT# objs = model . _default_manager . all ( ) [ : limit ] #NEWLINE# if asvar : #NEWLINE# #INDENT# context [ asvar ] = objs #NEWLINE# return '' #NEWLINE# #UNINDENT# if ( sys . version_info [ 0 ] == 2 ) : #NEWLINE# #INDENT# return unicode ( objs ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return str ( objs )