Esempio n. 1
0
def getNowPlayingMovies(limit = 10, offset = 0):

	movies = Movie.nowplaying()[offset : offset + limit]
	movieInfo = []
	for movie in movies:
		movieInfo.append(getMinimalistMovieInfo(movie))

	return {'now_playing' : movieInfo}
Esempio n. 2
0
def nowplaying():
  res = Movie.nowplaying()
  return render_template('movies.html', title='Now playing | Movies', pageActive='movies', movies=res[0:15])