Home | Trees | Indices | Help |
|
---|
|
object --+ | FormWidget --+ | UploadWidget
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
DEFAULT_WIDTH =
|
|||
ID_DELETE_SUFFIX =
|
|||
GENERIC_DESCRIPTION =
|
|||
DELETE_FILE =
|
|
|||
Inherited from |
|
generates a INPUT file tag. Optionally provides an A link to the file, including a checkbox so the file can be deleted. All is wrapped in a DIV. see also: :meth:`FormWidget.widget` :param download_url: Optional URL to link to the file (default = None)
|
how to represent the file: - with download url and if it is an image: <A href=...><IMG ...></A> - otherwise with download url: <A href=...>file</A> - otherwise: file :param field: the field :param value: the field value :param download_url: url for the file download (default = None) |
Tries to check if the filename provided references to an image Checking is based on filename extension. Currently recognized: gif, png, jp(e)g, bmp :param value: filename |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu Aug 4 00:47:01 2011 | http://epydoc.sourceforge.net |