Opened 5 years ago

Closed 5 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 5 years ago.
Filter tag documentation patch.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Ben Spaulding

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

Filter tag documentation patch.

comment:1 Changed 5 years ago by Julien Phalip

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 5 years ago by Aymeric Augustin

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