Opened 17 years ago
Closed 16 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)
Changed 17 years ago by
Attachment: | __init__.py.diff added |
---|
comment:1 Changed 17 years ago by
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 Changed 16 years ago by
Patch needs improvement: | set |
---|---|
Triage Stage: | Unreviewed → Design decision needed |
comment:4 Changed 16 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
django.template.init