﻿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
26545	Improve documentation of numeric dictsort template filter arguments	Filipa Andrade	nobody	"The dictsort template filter is commonly used in Django with the following syntax (from django.views.debug):

{{{
{% for k, v in settings.items|dictsort:0 %}
  {{ k }} = {{ v|stringformat:""r"" }}
{% endfor %}
}}}

In the documentation it is not clear what the 0 argument means.

Would be great to add that explanation: when using an integer value as an argument the dictionary will be sorted according to the character in the position given by the argument. Basically that 0 means that it will be sorted alphabetically as 0 is the first character of the keys string."	Cleanup/optimization	closed	Documentation	1.9	Normal	duplicate			Unreviewed	0	0	0	0	1	0
