The url template function resolve an URL associated with a model, so in Django 1.6 quotes around variables don't get the variable value.
[YOCTO #10871] Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- templates/rrs/recipedetail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/rrs/recipedetail.html b/templates/rrs/recipedetail.html index fc3395c..9ac15da 100644 --- a/templates/rrs/recipedetail.html +++ b/templates/rrs/recipedetail.html @@ -79,7 +79,7 @@ <td>{{ rud.version }}</td> {% if rud.milestone_name %} <td> - <a href="{% url 'recipes' 'rud.release_name' 'rud.milestone_name' %}"> + <a href="{% url 'recipes' rud.release_name rud.milestone_name %}"> {{ rud.release_name }} {% if rud.milestone_name != "All" %} {{ rud.milestone_name }} @@ -97,7 +97,7 @@ <td>{{ rud.date }}</td> {% if rud.is_recipe_maintainer %} - <td><a href="{% url 'recipes' 'rud.release_name' 'rud.milestone_name' %}?maintainer_name={{ rud.maintainer_name|urlencode }}">{{ rud.maintainer_name }}</a></td> + <td><a href="{% url 'recipes' rud.release_name rud.milestone_name %}?maintainer_name={{ rud.maintainer_name|urlencode }}">{{ rud.maintainer_name }}</a></td> {% else %} <td>{{ rud.maintainer_name }}</a></td> {% endif %} -- 2.1.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto