uploads.Upload : Upload file

Upload(id, user, file, mimetype, file_size, owner_type, owner_id, upload_area, type, volume, library_file, description)

name

type

verbose name

id

BigAutoField

ID

user

ForeignKey to User

Uploaded by

file

FileField

File

mimetype

CharField

MIME type

file_size

IntegerField

File size

owner_type

ForeignKey to ContentType

Controlled by (type)

owner_id

GenericForeignKeyIdField

Controlled by (object)

upload_area

ChoiceListField

Upload area

type

ForeignKey to UploadType

Upload type

volume

ForeignKey to Volume

Library volume

library_file

CharField

Library file

description

CharField

Description

description_link

VirtualField

Description

name_column

VirtualField

Name

navigation_panel

VirtualField

(None)

workflow_buttons

VirtualField

Workflow

overview

VirtualField

(None)

Master tables: uploads.Uploads : Upload files, uploads.AllUploads : Upload files, uploads.MyUploads : My Upload files, uploads.AreaUploads : Upload files

Referenced from

Database fields

Internal name

Verbose name

Help text

id

ID

user

Uploaded by

The author of this object. A pointer to lino.modlib.users.models.User.

file

File

Pointer to the uploaded file itself (a Django FileField).

mimetype

MIME type

The media type of the uploaded file.

file_size

File size

The size of the file in bytes. Not yet implemented.

owner_type

Controlled by (type)

owner_id

Controlled by (object)

upload_area

Upload area

The upload area this file belongs to.

type

Upload type

The type of this upload.

volume

Library volume

A pointer to the library volume where this file is stored.

library_file

Library file

The path of this file, relative the volume’s root.

description

Description

A short description entered manually by the user.

owner

Controlled by

description_link

Description

Almost the same as description, but if file is not empty, the text is clickable, and clicking on it opens the uploaded file in a new browser window.

name_column

Name

navigation_panel

None

workflow_buttons

Workflow

List of actions that change the workflow state of this object.

overview

None