drop python2 support, upgrade to django 3

This commit is contained in:
j 2020-05-29 00:20:18 +02:00
commit 844382b1e8
124 changed files with 413 additions and 563 deletions

View file

@ -17,7 +17,7 @@ static_root = os.path.join(os.path.dirname(__file__), 'data')
def render_poster(data, poster):
title = ox.decode_html(data.get('title', ''))
director = ox.decode_html(u', '.join(data.get('director', [])))
director = ox.decode_html(', '.join(data.get('director', [])))
year = str(data.get('year', ''))
series = data.get('isSeries', False)
oxdb_id = data['oxdbId']