diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2017-02-27 01:18:09 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2017-02-27 01:18:09 +0100 |
commit | 6bd9dcdb814b2f03f053ff5f5bf9a20ffe092582 (patch) | |
tree | 5813bc7f73c637757662cece27d388547c1bea1d /archivist/prefixes.py | |
parent | ef3cda14736df8b8a9f7ff4f022b9a8250713bd9 (diff) | |
download | archivist-6bd9dcdb814b2f03f053ff5f5bf9a20ffe092582.tar.gz archivist-6bd9dcdb814b2f03f053ff5f5bf9a20ffe092582.tar.bz2 archivist-6bd9dcdb814b2f03f053ff5f5bf9a20ffe092582.zip |
Inserting Documents
Diffstat (limited to 'archivist/prefixes.py')
-rw-r--r-- | archivist/prefixes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archivist/prefixes.py b/archivist/prefixes.py index 4e73ca7..a039485 100644 --- a/archivist/prefixes.py +++ b/archivist/prefixes.py @@ -20,6 +20,7 @@ def _create_prefixes(): FieldPseudoPrefix('direction', 'In- or outgoing', Document.direction) FieldPseudoPrefix('date', 'Date of creation', Document.created) + FieldPseudoPrefix('mime', 'Mime Type', Document.file_type) for part in ('day', 'month', 'year'): FieldPartPseudoPrefix(part, part.capitalize() + ' of creation', Document.created, part) |