Opened 13 years ago

Closed 12 years ago

#17110 closed Bug (fixed)

Filter Tag Needs Documentation Regarding Escape and Safe Filters

Reported by: Ben Spaulding Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The filter tag disallows the escape and safe filters as arguments. The documentation should make note of this, while pointing users to the autoescape tag.

See source:/django/branches/releases/1.3.X/django/template/defaulttags.py@15796#L656

Attachments (1)

filter-tag-doc-note.diff (1.2 KB ) - added by Ben Spaulding 13 years ago.
Filter tag documentation patch.

Download all attachments as: .zip

Change History (3)

by Ben Spaulding, 13 years ago

Attachment: filter-tag-doc-note.diff added

Filter tag documentation patch.

comment:1 by Julien Phalip, 13 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Aymeric Augustin, 12 years ago

Resolution: fixed
Status: newclosed

In [17271]:

Fixed #17110 -- Mentionned that the {% filter %} tag doesn't support the 'safe' and 'escape' filters. Thanks benspaulding.

Note: See TracTickets for help on using tickets.
Back to Top