Django Template Batas Panjang String

{{ my_variable|slice:":255" }}
Talented Thrush