add support for truncate_words in django <= 1.3