Upgrade to 0.96 went smoothly.
On Jul 10, 10:42 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 7/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > running .91 due to upgrade soon.
>
> For future reference, that would have been a very useful piece of data
> to provide with
On 7/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> running .91 due to upgrade soon.
For future reference, that would have been a very useful piece of data
to provide with your original report. Django 0.91 is 18 months old -
and a lot of very significant changes and bugfixes have been ma
running .91 due to upgrade soon.
On Jul 10, 11:27 am, Vincent Foley <[EMAIL PROTECTED]> wrote:
> It works fine with me:
>
> >>> from django.template import Template, Context
> >>> t = Template('''{% ifequal s "Some Thing" %}Equal{% else %}Not equal{%
> >>> endifequal %}''')
> >>> t.render(Contex
It works fine with me:
>>> from django.template import Template, Context
>>> t = Template('''{% ifequal s "Some Thing" %}Equal{% else %}Not equal{%
>>> endifequal %}''')
>>> t.render(Context({'s': 'foo'}))
'Not equal'
>>> t.render(Context({'s': 'Some Thing'}))
'Equal'
What version of Django
I don't see why this {% ifequal theclass "Some Thing" %} throws a
TemplateSyntaxError " 'ifequal' takes two arguments " while this {%
ifequal theclass "SomeThing" %} does not?
Any clarity would be welcomed.
Best
--~--~-~--~~~---~--~~
You received this mes
5 matches
Mail list logo