Hello, https://code.djangoproject.com/ticket/22070 reported an inconsistency in the capitalization of application verbose names. It was most visible in the admin index page. In order to fix this bug, application names were capitalized. The alternative was to pass application names through capfirst like model names.
AppConfig.verbose_name is intended to mirror Model._meta.verbose_name/verbose_name_plural. The latter are expected to be lower-case: https://docs.djangoproject.com/en/dev/ref/models/options/#verbose-name. That makes it easier to use them in sentences such as "Delete selected %(verbose_name_plural)s". Can the same argument be applied to application names? In theory, maybe, and that's why I was surprised by the fix for #22070. In practice there's usually a single instance of each application in a Django project. From that perspective application names can be treated like proper nouns and should be capitalized. This question matters because it isn't possible to capitalize or lower-case correctly in general. I'd like to avoid changing the API after the beta. I'm now thinking that it's acceptable to keep capitalized application names and live with the inconsistency. However, if I have missed an argument in favor of lower case names, let me know. -- Aymeric. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/DEBBCB62-8263-411A-80F6-2C7768B7B584%40polytechnique.org. For more options, visit https://groups.google.com/d/optout.
