#NEWLINE# @ register . inclusion_tag ( 'zinnia/tags/dummy.html' , takes_context = True ) #NEWLINE# def get_tag_cloud( context , steps = 6 , min_count = None , template = 'zinnia/tags/tag_cloud.html' ) : #NEWLINE# #INDENT# '\n    Return a cloud of published tags.\n    ' #NEWLINE# tags = Tag . objects . usage_for_queryset ( Entry . published . all ( ) , counts = True , min_count = min_count ) #NEWLINE# return { #NEWLINE# #INDENT# 'template' : template , #NEWLINE# 'tags' : calculate_cloud ( tags , steps ) , #NEWLINE# 'context_tag' : context . get ( 'tag' ) , #NEWLINE# #UNINDENT# }