def get_movie_list(): """ List of all movies. """ return template("movie_list", movies=repo.match(Movie).order_by("_.title"))
def get_index(): """ Index page. """ return template("index")
def get_person_list(): """ List of all people. """ return template("person_list", people=repo.match(Person).order_by("_.name"))
def get_movie(title): """ Page with details for a specific movie. """ return template("movie", movie=repo.get(Movie, title))