summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'flask_app.py')
-rw-r--r--flask_app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/flask_app.py b/flask_app.py
index 17281fa..67b2217 100644
--- a/flask_app.py
+++ b/flask_app.py
@@ -5,7 +5,7 @@ When run as a script, the Flask development server is started.
import os, socket
import submission_pb2, storage, database
-from flask import Flask, request, g
+from flask import Flask, request, g, render_template
from portage_processor import PortageProcessor
@@ -25,7 +25,7 @@ def teardown_request(exception):
@app.route('/')
def index():
- pass
+ return render_template('group_list.html', groups=g.db.get_groups())
@app.route('/submit', methods=['POST'])
def submit():