TRIM would delete any whitespace from the string (tabs, newlines,
spaces, ...). SPACELESS comes close as it will convert all the
whitespace into just 1 space.
I'm stuck on 0.91 at work and I dont think they plan on upgrading
anytime soon (its beyond my control)
I'm not sure SPACELESS doesnt work, maybe because its around the
variable story.tease? I cant do anything via python either, I dont
have permission and I wouldnt know how anyway, all I deal with is
templates
{% block data %}{% spaceless %}{{ story.tease }}{% endspaceless %}
{%endblock %}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---