As a Django newbie I apologize if this is a trivial question.
I'd like to use a form field as an element in a generated page but not as
part of a form. In particular, I'm generating a table, some of whose
elements are text and others of which I want to be drop-down lists. I
thought I might be
I'm generating a table. I want the cells to be different depending on the
type of the content. How do I test for the type of the content? I'd like to
do something like this.
{% for row in rows %}
{% for cell in row %}
Is that considered decent Django?
On Tuesday, July 3, 2012 12:50:15 PM UTC-7, Russ Abbott wrote:
>
> I'm generating a table. I want the cells to be different depending on the
> type of the content. How do I test for the type of the content? I'd like to
3 matches
Mail list logo