I\'m having trouble with Django templates and CharField models.
So I have a model with a CharField that creates a slug that replaces spaces with underscores. If I cr
if you are looking for a way to remove spaces in your html then this might be what you are looking for:
html_tag|cut:" "
cut is a builtin tag for filtering in your html. Lets say you want to use an id for each html tag to be used as a permalink to reference while you generate this dynamically then for example your solution would be:
django documentation