parameters: (self, model, steps=4, distribution=LOGARITHMIC,
                          filters=None, min_count=None)
return_statement: return calculate_cloud(tags, steps, distribution)
docstring: Obtain a list of tags associated with instances of the given
          Model, giving each tag a ``count`` attribute indicating how
          many times it has been used and a ``font_size`` attribute for
          use in displaying a tag cloud.
  
          ``steps`` defines the range of font sizes - ``font_size`` will
          be an integer between 1 and ``steps`` (inclusive).
  
          ``distribution`` defines the type of font size distribution
          algorithm which will be used - logarithmic or linear. It must
          be either ``tagging.utils.LOGARITHMIC`` or
          ``tagging.utils.LINEAR``.
  
          To limit the tags displayed in the cloud to those associated
          with a subset of the Model's instances, pass a dictionary of
          field lookups to be applied to the given Model as the
          ``filters`` argument.
  
          To limit the tags displayed in the cloud to those with a
          ``count`` greater than or equal to ``min_count``, pass a value
          for the ``min_count`` argument.
docstring_summary: Obtain a list of tags associated with instances of the given
          Model, giving each tag a ``count`` attribute indicating how
          many times it has been used and a ``font_size`` attribute for
          use in displaying a tag cloud.
docstring_tokens: Obtain a list of tags associated with instances of the given Model giving each tag a count attribute indicating how many times it has been used and a font_size attribute for use in displaying a tag cloud .
function: def cloud_for_model(self, model, steps=4, distribution=LOGARITHMIC,
                          filters=None, min_count=None):
          """
          Obtain a list of tags associated with instances of the given
          Model, giving each tag a ``count`` attribute indicating how
          many times it has been used and a ``font_size`` attribute for
          use in displaying a tag cloud.
  
          ``steps`` defines the range of font sizes - ``font_size`` will
          be an integer between 1 and ``steps`` (inclusive).
  
          ``distribution`` defines the type of font size distribution
          algorithm which will be used - logarithmic or linear. It must
          be either ``tagging.utils.LOGARITHMIC`` or
          ``tagging.utils.LINEAR``.
  
          To limit the tags displayed in the cloud to those associated
          with a subset of the Model's instances, pass a dictionary of
          field lookups to be applied to the given Model as the
          ``filters`` argument.
  
          To limit the tags displayed in the cloud to those with a
          ``count`` greater than or equal to ``min_count``, pass a value
          for the ``min_count`` argument.
          """
          tags = list(self.usage_for_model(model, counts=True, filters=filters,
                                           min_count=min_count))
          return calculate_cloud(tags, steps, distribution)
function_tokens: def cloud_for_model ( self , model , steps = 4 , distribution = LOGARITHMIC , filters = None , min_count = None ) : tags = list ( self . usage_for_model ( model , counts = True , filters = filters , min_count = min_count ) ) return calculate_cloud ( tags , steps , distribution )