Clarify in docs that filters don't work in ifequal
|Reported by:||jogwen||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Can you please make it a bit more explicit in http://docs.djangoproject.com/en/1.0/ref/templates/builtins/#ifequal that ifequal cannot evaluate its arguments - I just wasted several hours (and created several custom filters) trying to work out why
ifequal request.GET.ds_doc_type type.id|toUnicode
always evaluates to False when
looked identical when rendered to the screen.
I've now written a custom filter to do the equality check and am using it in an 'if' which seems to work ok.