From: Radek Czajka Date: Fri, 8 Feb 2013 12:43:08 +0000 (+0100) Subject: Add related modules X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/691f252c79b3feec1902d1c8cec03745fe4c89d6 Add related modules --- diff --git a/librarian/dcparser.py b/librarian/dcparser.py index 5fb58c5..78f231c 100644 --- a/librarian/dcparser.py +++ b/librarian/dcparser.py @@ -380,6 +380,8 @@ class BookInfo(WorkInfo): WLURI, strict=as_wluri_strict, multiple=True, required=False), Field( DCNS('relation.isVariantOf'), 'variant_of', WLURI, strict=as_wluri_strict, required=False), + Field( DCNS('relation'), 'relations', + WLURI, strict=as_wluri_strict, multiple=True, required=False), Field( DCNS('relation.coverImage.url'), 'cover_url', required=False), Field( DCNS('relation.coverImage.attribution'), 'cover_by', required=False),