﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35616	"""url"" template tag works with a context variable only if left unquoted"	Petr Boháč		"I tried passing a context variable as the url_name parameter like so:

{{{
{% url 'url' %}
}}}

Django raises a NoReverseMatch exception - Reverse for 'url' not found. 'url' is not a valid view function or pattern name.

When left unquoted like so:

{{{
{% url url %}
}}}

PyCharm gives me a warning (View names should be in quotes since Django 1.5 and should have no quotes before 1.5) despite Django apparently accepting this and resolving to the correct URI.

Using Django 5.0.7
"	Uncategorized	closed	Template system	5.0	Normal	invalid			Unreviewed	0	0	0	0	0	0
