Endret noen feltnavn i fileformat.py for å stemme med resten.

This commit is contained in:
Øystein Ingmar Skartsæterhagen 2011-10-08 13:53:52 +00:00
parent 7650057992
commit d4ca8c5679

View File

@ -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'] },