﻿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
28264	django.forms.FilePathField does not return sorted subdirectories in formfield	Jean-Marie Thomas	nobody	"In the code :

            for root, dirs, files in sorted(os.walk(self.path)):
                if self.allow_files:
# here, files are not sorted
                    for f in files:
                        if self.match is None or self.match_re.search(f):
                            f = os.path.join(root, f)
                            self.choices.append((f, f.replace(path, """", 1)))
                if self.allow_folders:
# and here, dirs are not sorted
                    for f in dirs:
                        if f == '__pycache__':
"	Uncategorized	new	Forms	1.11	Normal		FilePathField		Unreviewed	1	0	0	0	0	0
