Update This worked for me..Thanks a lot for your help:-
FIELD1 FIELD2 FIELD3 FIELD4
FIELD5 FIELD6 FIELD7 FIELD8 * {% for r in
ret_list %} * {{r.field1}} {{r.field2}}
{{r.field3}} {{r.field4}} {{r.field5}}
{{r.field6}} {{r.field7}} {{r.field8 }} *
{% endfor %} *
Thank you so much Joe...
I was actually able to go forward.
With the below code :-
{% for r in list1 %}
{% cycle '' '' '' '' '' '' '' ''%}
{{r}}
{% cycle '' '' '' '' '' '' '' '' %}
{% endfor %}
The {{r}} in the above code , gives only the reference or the pointer
value.
The example code you provided will create a on the first iteration of
the loop and tag every 4th iteration of the loop. This cycle will
continue resulting in a table with 4 columns of data. Example:
results = [ 1, 2, 3, 4, 5, 6, 7, 8 ]
1
2
3
4
5
6
7
Hello,
I am new to django.
I am using django forms in my project and I am not using django models.
>From the user, my django form asks for 4 inputs :- signal_to_noise_1 ,
signal_to_noise_2, bandwidth1 and bandwidth2.
Based on these values I use my look up table and I create a results
4 matches
Mail list logo