Changes between Initial Version and Version 3 of Ticket #22070


Ignore:
Timestamp:
03/03/2014 09:53:33 AM (16 months ago)
Author:
timo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22070

    • Property Cc bendavis78 added
    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Keywords app-loading added
    • Property Needs documentation unset
    • Property Triage Stage changed from Unreviewed to Accepted
  • Ticket #22070 – Description

    initial v3  
    1 The base ``AppConfig`` class uses ``self.label.title()`` for verbose_name if verbose_name is not supplied. The new AppConfigs in ``django.contrib`` use lowercase verbose names. This causes the admin index to look a bit sloppy when old-style apps are capitalized while new-style apps are all lowercase.
     1The base `AppConfig` class uses `self.label.title()` for verbose_name if verbose_name is not supplied. The new AppConfigs in `django.contrib` use lowercase verbose names. This causes the admin index to look a bit sloppy when old-style apps are capitalized while new-style apps are all lowercase.
    22
    33In my opinion, one of the following changes should be made:
    44
    5 1. All contrib apps should follow the convention for verbose_names used by the default ``AppConfig``
    6 2. The default ``AppConfig`` should follow the same convention for verbose name as the contrib apps
    7 3. The admin template should force all app names to use the same title convention (eg, ``{% verbose_name|title %}``)
     51. All contrib apps should follow the convention for verbose_names used by the default `AppConfig`
     62. The default `AppConfig` should follow the same convention for verbose name as the contrib apps
     73. The admin template should force all app names to use the same title convention (e.g., `{% verbose_name|title %}`)
    88
    99I'm in favor of any of these options -- the main goal here is consistency.
Back to Top