Hi,
is there anything built-in in Django templates that will allow me to compare two values? Similar to ifequal.
If not - what is the best solution for this?
Hi,
is there anything built-in in Django templates that will allow me to compare two values? Similar to ifequal.
If not - what is the best solution for this?
There's no built-in way of doing this, but there is a popular template tag to get it done: smart if.