Displaying current file in admin for a filefield

1 view
Skip to first unread message

andybak

unread,
Oct 2, 2007, 9:22:07 AM10/2/07
to Django developers
Hi there,

I'm looking to figure out how to subclass the widget for the FileField
in newforms-admin so that it displays the current filename next to the
upload field.

Does anyone know there are any examples/resources to help me get
started? I assume I need to subclass forms.widgets.Widget and override
the render method at the very least.

thanks in advance,

Andy

andybak

unread,
Oct 2, 2007, 9:24:48 AM10/2/07
to Django developers
Apologies. Meant to post that to Django-Users (although I've probably
got a better chance of a useful answer here I am aware that it's not
really the right question for this group).

However now it's here - any tips gratefully received!

Reply all
Reply to author
Forward
0 new messages