#9483: Title template filter is broken
-------------------------------------+-------------------------------------
     Reporter:  hdevries             |                    Owner:  hdevries
         Type:  Bug                  |                   Status:  closed
    Component:  Template system      |                  Version:  SVN
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  title template       |             Triage Stage:  Design
  filter                             |  decision needed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * status:  assigned => closed
 * ui_ux:   => 0
 * resolution:   => wontfix
 * easy:   => 0


Comment:

 As pointed out by Malcolm, the initial example is rather artificial and
 doesn't warrant a change.

 Furthermore Django handles correctly the example given in comment 7:
 {{{
 >>> from django.template.defaultfilters import title
 >>> m = "something ain't right here"
 >>> title(m)
 u"Something Ain't Right Here"
 }}}
 (There's some specific code to handle the apostrophe, and it appears in
 the patches uploaded above, which means it already existed when this
 ticket was opened.)

 ----

 Absent a sufficiently convincing use case to break backwards
 compatibility, and given the lack of interest for this ticket over the
 last three years, I think we'd better keep the current implementation and
 I'm going to close this ticket.

 It's easy enough to implement your own `title` tag if the builtin doesn't
 match exactly your requirements.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/9483#comment:16>
Django <https://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.

Reply via email to