Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

new defaultfilter wordcap: converts a string into titlecase but respect ... #2122

wants to merge 1 commit into


None yet
2 participants

areski commented Dec 28, 2013

Related to ticket https://code.djangoproject.com/ticket/21693

The defaultfilter title may in many cases be an issue to obtain a correct titlecase, for instance if the title contains acronyms or abbreviations. For instance, "SMS count"|title will display "Sms Count" which is not the desired result.
The defaultfilter wordcap try to provide a filter for this.
"SMS count"|wordcap -> "SMS Count"


timgraham commented Mar 13, 2014

Closing per ticket.

@timgraham timgraham closed this Mar 13, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment