djangosnippets.org: Latest snippets tagged with 'fixed-width'https://djangosnippets.org/tags/fixed-width/2007-06-12T15:20:32.746181-05:00Make a string a fixed-width
2007-06-12T15:20:32.746181-05:00adamfasthttps://djangosnippets.org/snippets/280/<p>This snippet is a template filter based on <a href="http://www.djangosnippets.org/snippets/126/">"truncate letters"</a> only it will either truncate or pad a string to ensure the output is always a set width.</p>
Freely redistributable