or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

Files

docs

activity-system.mdapi-integration.mdbilling-system.mdconfiguration-system.mdconsole-interface.mdcontact-management.mdcore-framework.mddjango-settings.mddocument-management.mdemail-system.mdevent-system.mdimport-export-system.mdindex.mdmanagement-commands.mdplugin-development.mdproduct-catalog.mdreporting-system.mdsales-management.mdsystem-configuration.mdtemplate-system.mdticket-system.mduser-management.md

document-management.mddocs/

0

# Document Management

1

2

File storage, document organization, folder structures, and document sharing with version control and access permissions.

3

4

## Capabilities

5

6

### Document Entity

7

8

```python { .api }

9

class Document(CremeEntity):

10

"""

11

Document entity for file management and organization.

12

13

Attributes:

14

- title: str, document title

15

- description: TextField, document description

16

- filedata: FileField, uploaded file

17

- mime_type: str, MIME type of file

18

- linked_folder: ForeignKey, parent folder

19

20

Methods:

21

- get_download_url(): Get file download URL

22

- get_file_size(): Get file size in bytes

23

"""

24

```

25

26

### Folder Entity

27

28

```python { .api }

29

class Folder(CremeEntity):

30

"""

31

Folder entity for document organization.

32

33

Attributes:

34

- title: str, folder name

35

- description: TextField, folder description

36

- parent_folder: ForeignKey, parent folder for hierarchy

37

38

Methods:

39

- get_documents(): Get documents in folder

40

- get_subfolders(): Get child folders

41

"""

42

```