On 08/02/06 09:09, Malcolm Tredinnick wrote: [...] > My motivation here was having to debug an email generation template > yesterday that was like a train wreck with all the template tags jammed > together to avoid spurious blank lines. It's going to be a few more days > before I can work on this seriously, I suspect (there are two more > urgent Django things I need to finish first, for a start), so you might > like to experiment along those lines too, if you're keen. I'm not sure I > like my solution a lot, either, since it makes things a little more > opaque in the code; still having debates with myself about that. >
I've written a template tag [1] for just that, more control over whitespace when generating config files and emails. Maybe that's useful for someone. [1] http://www.c-area.ch/code/django/templatetags/normalize.py --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---