From: Marcin Koziej Date: Thu, 22 Dec 2011 11:41:59 +0000 (+0100) Subject: sha1 field X-Git-Tag: 1.7~176 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/ef1261dbe0b30a1ab9f39831b7c167918913338a sha1 field --- diff --git a/librarian/picture.py b/librarian/picture.py index b770030..edf541f 100644 --- a/librarian/picture.py +++ b/librarian/picture.py @@ -35,6 +35,7 @@ class PictureInfo(WorkInfo): Field(DCNS('subject.type'), 'kinds', salias='kind', multiple=True), Field(DCNS('format.dimensions'), 'dimensions', required=False), + Field(DCNS('format.checksum.sha1'), 'sha1', required=True), Field(DCNS('description.medium'), 'medium', required=False), Field(DCNS('description.dimensions'), 'original_dimensions', required=False), Field(DCNS('format'), 'mime_type', required=False),