renamed GetGenreList to GetGenres as it just gets them, does not make the html list as I was originally planning

This commit is contained in:
2020-11-21 17:56:05 +11:00
parent 8641b3b140
commit 1a598ca59b

View File

@@ -39,7 +39,7 @@ def genres():
return render_template("show_id_name.html", objects=genres, page_title='Show All Genres', url_base='genre')
def GetGenreList():
def GetGenres():
genres = Genre.query.order_by('name').all()
return genres