#8966: {% if "x"|length_is:n %} always evaluates True
---------------------------------------------------------+------------------
Reporter: Thomas Steinacher <[EMAIL PROTECTED]> | Owner:
nobody
Status: new | Milestone:
Component: Template system | Version: SVN
Resolution: | Keywords:
Stage: Ready for checkin | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------------+------------------
Changes (by SmileyChris):
* stage: Unreviewed => Ready for checkin
Comment:
Removal of is_safe is the right thing to do. It's a gotcha though -- a
note explaining that `is_safe` shouldn't be used if you're relying on a
non-string return object in `docs/howto/custom-template-tags.txt` would be
useful.
--
Ticket URL: <http://code.djangoproject.com/ticket/8966#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---