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
There is a built-in template tag spaceless
{% spaceless %} Foo {% endspaceless %}
Foo
Which results:
Read more in django documentation.