Use https://docs.djangoproject.com/en/dev/ref/templates/builtins/#spaceless around here.