﻿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
7415	FileFields have wrong url  in admin under Windows, when using upload_to path	edgars.jekabsons@…	Marty Alchin	"Right now (revision 7612) AdminFileWidget is implemented this way:

{{{
if value:
    output.append('%s <a target=""_blank"" href=""%s%s"">%s</a> <br />%s ' % \
                (_('Currently:'), settings.MEDIA_URL, value, value, _('Change:')))
}}}

The value in database contains \ as a path separator. It is shown as a url instead of needed / separator for urls. Works as is under Unix, but clearly not on Windows.

Model get_<field>_url() method gives the url with correct path separator. Perhaps it should be used in the link instead of value."		closed	contrib.admin	dev		fixed	windows filefield fs-rf-fixed		Accepted	1	0	1	1	0	0
