One of the things I find myself doing often is passing string literals as parameters to template tags or functions; for instance:
{% url my-url \'my_param\'
Use double quotes instead of single quotes:
{% url my_view "my_param" %}