Formatting Filters
9 filters
- capfirst capitalizes the first letter of a value.
-
center
centers a value within text of
ncharacters -
ljust
left justifies a value within text of
ncharacters - localize forces locale-aware formatting on one value. Needs {% load l10n %}
- lower converts a string to lowercase.
-
rjust
right justifies a value within text of
ncharacters - title capitalizes the first letter of each word in a value.
- unlocalize forces one value to stay machine-readable. Needs {% load l10n %} Most useful
- upper converts a string to uppercase.
