Django 1.2 templates has new ‘if’ tag but it’s not going really better

So, there is Django 1.2 in action for now.
First one of improvements I used smart if tag embedded right into Django templates.
I use special custom smart if tag before.

For now it support such cool things like <=, !=, and or not
but it really can’t be used because it doesn’t support parenthesis.
I need to use nested if’s or put that logic to controller layer.
Such things make Django sucks. 😦

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: