Opened 19 years ago
Closed 18 years ago
#2636 closed enhancement (wontfix)
[patch] Allowed single quotes in template filter parameters
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Template system | Version: | dev |
| Severity: | minor | Keywords: | template filter quotes |
| Cc: | Triage Stage: | Design decision needed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | no | UI/UX: | no |
Description
Template filters parameters requires the use of double quotes, this patch allows the use of single quotes.
Attachments (1)
Change History (5)
by , 19 years ago
| Attachment: | __init__.py.diff added |
|---|
comment:1 by , 19 years ago
I don't really have an opinion at the moment about whether this is really needed. However, it does look like the patch is wrong: it would allow a string quoted "like this' (mismatched leading and trailing quotes). You are going to need two branchs in the reg-exp each time.
comment:3 by , 19 years ago
| Patch needs improvement: | set |
|---|---|
| Triage Stage: | Unreviewed → Design decision needed |
comment:4 by , 18 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
django.template.init