> (You did remember to pass in 'firstSetOfFields' as a variable in your
> template context, right?).
*sigh* Sadly, I didn't; as soon as I did everything worked fine;
thanks.
Jeremy
On Dec 1, 4:26 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On 12/1/07, machineghost <[EMAIL PROTECTED]> wrote:
On 12/1/07, machineghost <[EMAIL PROTECTED]> wrote:
>
>
> First off thanks in advance for any help you can provide. My problem
> is that I have a very long form with a very repetitive layout:
>
> {{ field.label }}
> {{ field }}
>
> which should in theory be perfect for wrapping inside a {% f
P.S. I also tried using {% ifequals field.__repr__
form.field1.__repr__ %} to compare the objects, but Django
(intelligently) prevents you from accessing __ methods in templates.
On Dec 1, 3:17 pm, machineghost <[EMAIL PROTECTED]> wrote:
> First off thanks in advance for any help you can provide
First off thanks in advance for any help you can provide. My problem
is that I have a very long form with a very repetitive layout:
{{ field.label }}
{{ field }}
which should in theory be perfect for wrapping inside a {% for field
in form %} {% endfor %} loop; right? Except there's one pro
4 matches
Mail list logo