Changes between Version 2 and Version 3 of DjangoSpecifications/NfAdmin/FlexibleAppHandling
- Timestamp:
- Mar 26, 2008, 7:25:48 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DjangoSpecifications/NfAdmin/FlexibleAppHandling
v2 v3 13 13 * '''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. 14 14 * '''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