On Jan 30, 5:37 am, Sam Lai <samuel....@gmail.com> wrote:
> You can always use if blocks, e.g.
>
> {% ifequal content.model_type "post" %}
> {% include "content/post/include.html" %}
> {% elseifequal ... %}
> ...
> {% endif %}
>


I believe im right in saying that you can only use if statements in
tags when using the development django codebase.
cos thats what i've read in the docco, but even so i cant get it
working against the development code.

another question if i may as its relevant and someone may know the
answer. if you install the dev code from subversion, when you start
the server does it still report itself as version 1.2 alpha 1 or have
i got a problem installing my dev version.

Matt

-- 
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.

Reply via email to