Django

Code

Ticket #3884 (closed: wontfix)

Opened 2 years ago

Last modified 5 months ago

humanize filter `intcomma` should be renamed to `commaseparate`

Reported by: SmileyChris Assigned to: adrian
Milestone: Component: Contrib apps
Version: SVN Keywords:
Cc: lidaobing@gmail.com Triage Stage: Design decision needed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

The current filter name doesn't give it justice (it also comma separates floats).

Backwards compatibility is easy, and it'd be good to provide a documentation example of it handling a float.

#3017 was the inspiration for this ticket.

Attachments

Change History

03/31/07 15:20:50 changed by SmileyChris

  • needs_better_patch changed.
  • stage changed from Unreviewed to Design decision needed.
  • needs_tests changed.
  • needs_docs changed.

What does core think?

03/31/07 15:24:36 changed by adrian

  • status changed from new to closed.
  • resolution set to wontfix.

I'm not necessarily against renaming the filter, but I don't think commaseparate is a great name because of the tendency for people to misspell "separate". Reopen with another name if you can think of one.

07/17/08 21:59:13 changed by anonymous

  • cc set to lidaobing@gmail.com.

Add/Change #3884 (humanize filter `intcomma` should be renamed to `commaseparate`)




Change Properties
Action