Hey,

I wanted to use a if statement with a url like ...

if you are on "/cm/add/"
......
endif
.
option 1:
I was wondering if anyone knows how to code that statement. if can
compare string variables like {% ifequal somevariable url %} where
"url" can be hard coded like "/cm/add" and somevariable would have to
store the url which i think is too complex.

option 2:
some if statement that directly compares the url like {% if {url} == "/
cm/add/" %}

any thoughts and ideas guys?

Thank you for all your replies. :)

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