On Wed, Dec 30, 2009 at 08:04:47AM +0200, Jerome Leclanche wrote: > Users expect it to be called "truncate", that alone is sufficient reason. > There's truncate_html, truncate_words.
Designers and others who are not familiar with Python might expect the 'truncate' name. While developers experienced with Python see this as list slicing, thus the 'slice' name. > Deprecate slice, move it to "truncate" and add the ellipsis for consistency. > No harm done, happy users. Renaming will thus only move the problem, what might come closer to real fix here is documenting that slice can be used as a truncate-filter. -Thomas Adamcik -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.