Re: simple record output

2009-02-02 Thread John M
BRILLIANT, that's what I was looking for , thanks Jake! On Feb 2, 2:19 pm, Jake Elliott wrote: > hi john - > > you can use the 'spaceless' tag in your > template:http://docs.djangoproject.com/en/dev/ref/templates/builtins/#spaceless > > to filter out spaces & carriage returns. > > -jake > > On

Re: simple record output

2009-02-02 Thread Jake Elliott
hi john - you can use the 'spaceless' tag in your template: http://docs.djangoproject.com/en/dev/ref/templates/builtins/#spaceless to filter out spaces & carriage returns. -jake On Mon, Feb 2, 2009 at 3:41 PM, John M wrote: > > Grrr, I answered my own quesiton, if I remove all the CR's from t

Re: simple record output

2009-02-02 Thread John M
Grrr, I answered my own quesiton, if I remove all the CR's from the template, then it's OK. So changing the template to {% if object_list %}{% for obj in object_list %}{{ obj.name }}{% endfor %}{% endif %} Works like I want. But now, how can I not have the CR's in the template effect my output