Hey everyone-- This is driving me a little crazy. Here's my complete template code for the following page:
http://www.rainbow.coop/products/sundries.html {% if sundries %} <p style="clear:both;"><strong>The following products are currently on sale<br /> in the Sundries Department:</strong></p> {% for item in sundries %} <p><strong>{{ item.actual_brand|title }}</strong> {{ item.actual_description|title }}<br /> <strong>Sale Price: ${{ item.actual_sale_price }}</strong> (Regular Price: ${{ item.actual_price }}){% if item.web_blurb %}<br / >{{ item.web_blurb }}{% endif %}</p> {% endfor %} <p>All specials are available while supplies last<br /> and are subject to change at any time. </p> {% endif %} And here's my complete template code for the index page: http://www.rainbow.coop <h2>Sales & Specials</h2> {% if one %} <h3>Current Sales in the {{ onename }} Department</ h3><br /> {% for item in one %} <p class="psmall"><strong>{{ item.actual_brand|title }}</ strong><br /> {{ item.actual_description|title }}<br /> <strong>Sale Price: ${{ item.actual_sale_price }}</strong><br /> (Regular Price: ${{ item.actual_price }})</p> {% endfor %} <p class="psmall">Check the <a href="/products/ {{ onehtml }}"><strong>{{ onename }}</strong></a> page for a complete list of sale items.</p><br /> {% endif %} {% if two %} <h3>Current Sales in the {{ twoname }} Department</ h3><br /> {% for item in two %} <p class="psmall"><strong>{{ item.actual_brand|title }}</ strong><br /> {{ item.actual_description|title }}<br /> <strong>Sale Price: ${{ item.actual_sale_price }}</strong><br /> (Regular Price: ${{ item.actual_price }})</p> {% endfor %} <p class="psmall">Check the <a href="/products/ {{ twohtml }}"><strong>{{ twoname }}</strong></a> page for a complete list of sale items.</p><br /> {% endif %} {% if three %} <h3>Current Sales in the {{ threename }} Department</ h3><br /> {% for item in three %} <p class="psmall"><strong>{{ item.actual_brand|title }}</ strong><br /> {{ item.actual_description|title }}<br /> <strong>Sale Price: ${{ item.actual_sale_price }}</strong><br /> (Regular Price: ${{ item.actual_price }})</p> {% endfor %} <p class="psmall">Check the <a href="/products/ {{ threehtml }}"><strong>{{ threename }}</strong></a> page for a complete list of sale items.</p><br /> {% endif %} <p class="psmall"><i><small>All sale items are available while supplies last and are subject to change at any time.</ small></i></p><br /> The |title filter works fine on sundries.html (& several other pages), but just don't work on the index page. Wha? And ideas what might be causing this? I'm baffled. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.