Commits

Benoît Allard committed 4868d26

web: Add a missing import, and correct wsgi template file

Comments (0)

Files changed (2)

 import sys; sys.path.insert(0, 'path/to/buglink')
 
-from server import web
+from web import web
 
-application = web.make_app({'DB_URL': 'sqlite:///...'})
+application = web.make_app({'DB_URL': 'sqlite:///...'})
 """
 import os
 
-from flask import Flask, g, render_template
+from flask import Flask, g, render_template, request
 
 from sqlalchemy.orm import sessionmaker
 from sqlalchemy import create_engine