Module Expr Str ImportFrom alias alias alias Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Slice Num orelse Return Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list
N/A N/A 
There are currently a few renderers that come directly with django-admin2. They
are used by default for some field types.
 __future__ division absolute_import unicode_literals N/A os.path datetime date time datetime django.db models django.utils formats timezone django.utils.encoding force_text django.template.loader render_to_string djadmin2 settings boolean_renderer N/A N/A value field N/A N/A N/A 
    Render a boolean value as icon.

    This uses the template ``renderers/boolean.html``.

    :param value: The value to process.
    :type value: boolean
    :param field: The model field instance
    :type field: django.db.models.fields.Field
    :rtype: unicode

     N/A tpl N/A N/A N/A os path join N/A settings ADMIN2_THEME_DIRECTORY renderers/boolean.html N/A N/A render_to_string tpl N/A value value N/A datetime_renderer N/A N/A value field N/A N/A N/A 
    Localize and format the specified date.

    :param value: The value to process.
    :type value: datetime.date or datetime.time or datetime.datetime
    :param field: The model field instance
    :type field: django.db.models.fields.Field
    :rtype: unicode

     N/A N/A isinstance value datetime N/A N/A N/A N/A formats localize N/A N/A timezone template_localtime value N/A N/A N/A isinstance value N/A date time N/A N/A N/A N/A : join N/A N/A N/A N/A N/A formats localize value split : N/A 2 N/A N/A N/A N/A : join N/A N/A N/A value split : N/A 2 N/A title_renderer N/A N/A value field N/A N/A N/A 
    Render a string in title case (capitalize every word).

    :param value: The value to process.
    :type value: str or unicode
    :param field: The model field instance
    :type field: django.db.models.fields.Field
    :rtype: unicode or str

     N/A N/A N/A N/A force_text value title N/A number_renderer N/A N/A value field N/A N/A N/A 
    Format a number.

    :param value: The value to process.
    :type value: float or long
    :param field: The model field instance
    :type field: django.db.models.fields.Field
    :rtype: unicode

     N/A N/A isinstance field N/A models DecimalField N/A N/A N/A N/A formats number_format value N/A field decimal_places N/A N/A N/A formats number_format value N/A