#3838: stringformat filter allows trailing non-format characters but not leading
characters
----------------------------------+-----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: closed | Component: Template system
Version: SVN | Resolution: wontfix
Keywords: stringformat | Stage: Design decision
needed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------------+-----------------------------------------
Comment (by [EMAIL PROTECTED]):
but you should fix it so that it can't be used in ways that are
undocumented and unsupported. I still find the naming ambiguous and
frankly think that a filter should does what it name says, not what the
documentation says that it currently does, especially if both have a big
overlap as it is now.
So... if {{{stringformat}}} can't be fixed so that it allows all possible
uses (and adding documentation for those, as proposed here), then it
probably should be changed in a way that raises an appropriate exception
with a meaningful error message, or not?
--
Ticket URL: <http://code.djangoproject.com/ticket/3838#comment:7>
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
-~----------~----~----~----~------~----~------~--~---