__init__(self,
attachment_store,
field_name,
encoding_name,
summary_field_name,
in_set=0)
(Constructor)
| source code
|
Create a new page object.
'attachment_store' -- The AttachmentStore in which the new attachment
will be placed.
'field_name' -- The user-visible name of the field for which an
attachment is being uploaded.
'encoding_name' -- The name of the HTML input that should contain the
encoded attachment.
'summary_field_name' -- The name of the HTML input that should contain
the user-visible summary of the attachment.
'in_set' -- If true, the attachment is being added to an attachment
set field.
- Overrides:
web.DtmlPage.__init__
|