Code

Changes between Version 4 and Version 5 of ListColumns


Ignore:
Timestamp:
10/26/10 23:54:04 (3 years ago)
Author:
alekam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ListColumns

    v4 v5  
    2727 * filter - template filters will be applied to value on output. It is string like this 'filter1|filter2:"arg"'. 
    2828 
    29  * load_filters - list of required template tags libraries. This libraries will be load before apply template filters to output value. Eg.: ['tagging_tags', 'tagging_autocomplete_tags'] 
     29 * load_filters - list of required template tags libraries. This libraries will be load before apply template filters to output value. Eg.: ['tagging_tags', 'tagging_autocomplete_tags']. 
     30Note: In admin area you can use "boolean_icon" template filter (it is provided by "admin_list" template library, this used to render admin change list). It is useful to display values of boolean fields or callables. It show green or red mark instead of True or False values. It is applied for boolean model fields (but not for callables) on render admin change list by default. 
    3031 
    3132 * order_field - string with model field name witch will be used to provide order by this column. If it provided for callable functions, its will be called with this field value in first argument instead of current object instance (this feature exists at least at svn rev. 14188 but currently is not documented).