Exemple #1
0
def moviesfrom(person_id):
    person = tmdb.persongetinfo(person_id)
    movies = []
    for movie in person['filmography']:
        tmdbmovie = tmdb.moviegetinfo(str(movie['id']))
        movies.append(tmdbmovie)
    return movies
Exemple #2
0
def moviesfrom(person_id):
    person = tmdb.persongetinfo(person_id)
    movies = []
    for movie in person['filmography']:
        tmdbmovie = tmdb.moviegetinfo(str(movie['id']))
        movies.append(tmdbmovie)
    return movies
Exemple #3
0
def person(request, person_id, slug):
    person = tmdb.persongetinfo(person_id)
    return render_to_response('person.html', {'person': person},
                              context_instance=RequestContext(request))
Exemple #4
0
def person(request, person_id, slug):
    person = tmdb.persongetinfo(person_id)
    return render_to_response('person.html', {'person': person}, context_instance=RequestContext(request))