Code

Changes between Version 2 and Version 3 of DjangoSpecifications/NfAdmin/FlexibleAppHandling


Ignore:
Timestamp:
03/26/08 05:25:48 (6 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoSpecifications/NfAdmin/FlexibleAppHandling

    v2 v3  
    1313 * '''ordering''': `app('mypkg.auth', 'myauth', 'My cool auth app', weight=1)`. Heavier items sink to the bottom and lighter ones raise to the top. Default is 0, negative weights can be used for pushing apps above those that don't specify weight. 
    1414 * '''collapsing''': `app('mypkg.auth', 'myauth', 'My cool auth app', style=('collapse',))`. The style argument has similar behaviour to fieldsets styling in ModelAdmin. 
    15  * '''descriptions''': `app('mypkg.auth', 'myauth', 'My cool auth app', description='The cool auth app helps you to foo and bar.',))`. Similar to `help_text` in model fields.  
     15 * '''descriptions''': `app('mypkg.auth', 'myauth', 'My cool auth app', description='The cool auth app helps you to foo and bar.',))`. Similar to `help_text` in model fields. 
     16  * models could have descriptions as well