uploads.UploadType
: Upload type¶
UploadType(id, name, upload_area, max_number, wanted, shortcut, name_de, name_fr)
name |
type |
verbose name |
id |
BigAutoField |
ID |
name |
BabelCharField |
Designation |
upload_area |
ChoiceListField |
Upload area |
max_number |
IntegerField |
Max. number |
wanted |
BooleanField |
Wanted |
shortcut |
ChoiceListField |
Upload shortcut |
name_de |
CharField |
Designation (de) |
name_fr |
CharField |
Designation (fr) |
name_column |
VirtualField |
Name |
navigation_panel |
VirtualField |
(None) |
workflow_buttons |
VirtualField |
Workflow |
overview |
VirtualField |
(None) |
Master tables: uploads.UploadTypes : Upload types
Slave tables: uploads.UploadsByType : Upload files
Referenced from uploads.Upload.type
Database fields¶
Internal name |
Verbose name |
Help text |
---|---|---|
id |
ID |
|
name |
Designation |
|
upload_area |
Upload area |
|
max_number |
Max. number |
No need to upload more uploads than N of this type. -1 means no limit. |
wanted |
Wanted |
Add a (+) button when there is no upload of this type. |
shortcut |
Upload shortcut |
Optional pointer to a virtual upload shortcut field. If this is not empty, then the given shortcut field will manage uploads of this type. See also Shortcuts. |
name_de |
Designation (de) |
|
name_fr |
Designation (fr) |
|
name_column |
Name |
|
navigation_panel |
None |
|
workflow_buttons |
Workflow |
List of actions that change the workflow state of this object. |
overview |
None |