Projects/worblehat-old
Projects
/
worblehat-old
Archived
12
0
Fork 0

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
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ fields = {
('series', 's'), ('description', 's'), # TODO picture, thumbnail ('series', 's'), ('description', 's'), # TODO picture, thumbnail
('references', 'd')], ('references', 'd')],
'person': 'person':
[('id', 's'), ('first_name', 's'), ('last_name', 's')], [('id', 's'), ('firstname', 's'), ('lastname', 's')],
'category': 'category':
[('id', 's'), ('name', 's'), ('placement', 'l')] } [('id', 's'), ('name', 's'), ('placement', 'l')] }
@ -34,7 +34,7 @@ action_fields = {
'required': ['isbn'] }, 'required': ['isbn'] },
'new-person': 'new-person':
{ 'type': 'person', { 'type': 'person',
'required': ['id', 'first_name', 'last_name'] }, 'required': ['id', 'firstname', 'lastname'] },
'edit-person': 'edit-person':
{ 'type': 'person', { 'type': 'person',
'required': ['id'] }, 'required': ['id'] },