Skip to content

Commit

Permalink
Rename templates for .j2 extension
Browse files Browse the repository at this point in the history
  • Loading branch information
booxter committed Nov 20, 2024
1 parent ee03aa2 commit 22454c2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/letsrolld/webcli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@


def list_film(film):
template = env.get_template("film.template")
template = env.get_template("film.j2")
return template.render(film=film)


def list_director(director):
template = env.get_template("director.template")
template = env.get_template("director.j2")
return template.render(director=director)


def report_film(film):
template = env.get_template("film-full.template")
template = env.get_template("film-full.j2")
return template.render(film=film, offers=DEFAULT_OFFERS)


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 22454c2

Please sign in to comment.