From d4ca8c5679bc989a653de7bd9b60c9eb8883d060 Mon Sep 17 00:00:00 2001 From: oysteini Date: Sat, 8 Oct 2011 13:53:52 +0000 Subject: [PATCH] =?UTF-8?q?Endret=20noen=20feltnavn=20i=20fileformat.py=20?= =?UTF-8?q?for=20=C3=A5=20stemme=20med=20resten.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli/fileformat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/fileformat.py b/cli/fileformat.py index 74e3b47..adfd0bb 100644 --- a/cli/fileformat.py +++ b/cli/fileformat.py @@ -13,7 +13,7 @@ fields = { ('series', 's'), ('description', 's'), # TODO picture, thumbnail ('references', 'd')], 'person': - [('id', 's'), ('first_name', 's'), ('last_name', 's')], + [('id', 's'), ('firstname', 's'), ('lastname', 's')], 'category': [('id', 's'), ('name', 's'), ('placement', 'l')] } @@ -34,7 +34,7 @@ action_fields = { 'required': ['isbn'] }, 'new-person': { 'type': 'person', - 'required': ['id', 'first_name', 'last_name'] }, + 'required': ['id', 'firstname', 'lastname'] }, 'edit-person': { 'type': 'person', 'required': ['id'] },