> So, I am proposing:
>  1) Adding a capitalize filter that mimicks str.capitalize.
>  2) Adding comments as to why the title filter doesn't simply return
> the output from str.title.
>  3) Renaming the current title filter and adding a title filter that
> mimicks str.title.
>  4) Removing the capfirst filter if 1) is implemented.
>

The current filters work for me as they are, and I can see how changing
them may cause problems for me (capfirst will not convert an acronym
like NASA to lower case, whereas capitalize will).

But why don't you just create your own capitalize filter (or titlecase
filter) for yourself?  Then you'll know that you'll get exactly the
functionality that you need and want.

http://www.djangoproject.com/documentation/templates_python/#writing-custom-template-filters
has the instructions....


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to