Changes between Initial Version and Version 1 of DjangoSpecifications/NfAdmin/FlexibleAppHandling


Ignore:
Timestamp:
Mar 20, 2008, 7:59:37 AM (17 years ago)
Author:
mrts
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoSpecifications/NfAdmin/FlexibleAppHandling

    v1 v1  
     1''Part of DjangoSpecifications''
     2
     3= Usability improvements for application handling =
     4
     5Suppose I have a project that contains 10 applications, each containing several models. Some of the apps are of primay importance, some are less important. Currently, there is no way to impose either ordering or hide app contents. This confuses users as it's hard to discern important bits from non-important ones.
     6
     7Ticket #3591 proposes an `app` configuration directive, this proposal builds upon that.
     8
     9== Proposal ==
     10
     11The following should be possible to achieve with the `app` directive:
     12 * '''verbose application names''': specified and implemented in #3591
     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 * '''collapsing''': `app('mypkg.auth', 'myauth', 'My cool auth app', style=('collapse',))`. The style argument has similar behaviour to fieldsets styling in ModelAdmin.
Back to Top