Add release ID to JSON download

This commit is contained in:
rubenwardy
2018-04-19 20:20:05 +01:00
parent 060d60ba46
commit 6e1921f68b
3 changed files with 26 additions and 3 deletions

View File

@@ -33,7 +33,8 @@ def doPackageList(type):
return jsonify(pkgs)
else:
tags = Tag.query.all()
return render_template("packages/list.html", title=title, packages=query.all(), query=search, tags=tags, type=None if type is None else type.toName())
return render_template("packages/list.html", title=title, packages=query.all(), \
query=search, tags=tags, type=None if type is None else type.toName())
@app.route("/packages/")