﻿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
14497	ModelAdmin.readonly_fields isn't graceful with filefields.	Keryn Knight <keryn@…>	Paul Collins	"Currently, if supplying a !FileField (and presumably, an !ImageField or anything subclassing !FileField) in the list of readonly_fields on a !ModelAdmin instance, the value stored against the database (the path to its location on the filesystem or storage backend) is displayed as plain text.

It would be neater if instead, it displayed an HTML link of path, as it does when displaying the standard file upload widget in a non-readonly context (though excepting the file upload field itself). This would allow for more intuitive handling of admin access to read-only forms with additional data (eg: downloading uploaded PDFs, which is the use-case I'm facing at the moment.)

Looking at the source, I think the place to tackle this would be [http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/helpers.py#L162 AdminReadonlyField.contents()] in  source:django/trunk/django/contrib/admin/helpers.py but that is just a cursory glance.

Obviously, ''low priority'' '''feature request''', rather than a bug."	New feature	closed	contrib.admin	1.2	Normal	fixed	feature admin readonly filefield	kez.knight@… adam@… thepapermen riccardo.magliocchetti@… cmawebsite@…	Ready for checkin	1	0	0	0	0	1
