I upgraded my django project from 1.4 to 1.5 and now I'm getting the error that my url
tags are formatted incorrectly. I did some research to find that, I believe, all my url
tags are now in the wrong format.
In 1.4, my url
tags looked like this: {% url path.to.view %}
In 1.5 the url
tag must look like this: {% url 'path.to.view' %}
(note the single quotes)
Am I reading this correctly? All url
tags need single quotes around the path to the view? Isn't that a huge inconvenience since people upgrading will have to change every single url
in their templates to add single quotes? Is there a quicker way to deal with this? I have a lot of templates (it's a large corporate web application).
Thanks