#4589: [newforms-admin] Add an option to `ModelAdmin`: section_name
----------------------------------------------+-----------------------------
Reporter: yi.codeplayer at gmail dot com | Owner: nobody
Status: new | Component: Admin
interface
Version: newforms-admin | Resolution:
Keywords: | Stage: Design
decision needed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------------------------+-----------------------------
Comment (by Petr Marhoun <[EMAIL PROTECTED]>):
I like this patch very much. I use it and I hope it will be accepted. But
I think there should be capfirst and not title:
{{{
In [1]: from django.utils.text import capfirst
In [2]: capfirst('My application')
Out[2]: u'My application'
In [3]: 'My application'.title()
Out[3]: 'My Application'
In [4]: capfirst('URLconf information')
Out[4]: u'URLconf information'
In [5]: 'URLconf information'.title()
Out[5]: 'Urlconf Information'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/4589#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---