Opened 13 years ago
Closed 13 years ago
#19244 closed Uncategorized (fixed)
Provide the missing examples from the "Built-in template tags and filters" page
| Reported by: | Daniel Greenfeld | Owned by: | Daniel Greenfeld | 
|---|---|---|---|
| Component: | Documentation | Version: | dev | 
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
Any template tag or filter that doesn't reference another page should have at least one example. Missing examples include:
- comment
- debug
- ifnotequal (is this one necessary?)
- templatetag
- dictsortreversed (is this one necessary?)
- escape
- force_escape
- pprint
- timesince
- timeuntil
Change History (6)
comment:2 by , 13 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|
Great idea! Please do open a ticket for pprint if you find an issue with it. Thanks!
comment:4 by , 13 years ago
Just confirmed that pprint does work but it's hard to come up with a good, terse example. Leaving it off for the same reason I'm leaving off debug. It's too special of a case.
comment:6 by , 13 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
The following won't be included in my patch: