[qcineoob] graphical fixes

add 'genres' field to Movie object of ICapCinema
This commit is contained in:
Julien Veyssier 2013-03-18 01:40:39 +01:00
commit 233c18b2e1
10 changed files with 338 additions and 69 deletions

View file

@ -29,15 +29,16 @@ class Movie(CapBaseObject):
Movie object.
"""
original_title = StringField('Original title of the movie')
other_titles = Field('Titles in other countries',list)
other_titles = Field('Titles in other countries', list)
release_date = DateField('Release date of the movie')
all_release_dates= StringField('Release dates list of the movie')
duration = IntField('Duration of the movie in minutes')
short_description= StringField('Short description of the movie')
genres = Field('Genres of the movie', list)
pitch = StringField('Short story description of the movie')
country = StringField('Origin country of the movie')
note = StringField('Notation of the movie')
roles = Field('Lists of Persons related to the movie indexed by roles',dict)
roles = Field('Lists of Persons related to the movie indexed by roles', dict)
thumbnail_url = StringField('Url of movie thumbnail')
def __init__(self, id, original_title):