Opened 11 years ago

Closed 11 years ago

#9973 closed (duplicate)

url (in template) doesn't accept single quotes

Reported by: liangent Owned by: nobody
Component: Template system Version: 1.0
Severity: Keywords: url
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


If I use {% url viewname 'text' data %} , it doesn't work, and it works when I change it to {% url viewname "text" data %} .

note: some other tags, such as extends , accept single quotes.

Change History (1)

comment:1 Changed 11 years ago by Malcolm Tredinnick

Resolution: duplicate
Status: newclosed

Basically a duplicate of #7295. We're in the processing of fixing it. For now, just use double-quotes everywhere. They always work.

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