Commit 2f13df5a authored by Willard's avatar Willard

Fix broken/missing imports

parent bb9c584b
...@@ -3,7 +3,7 @@ from flask import Flask ...@@ -3,7 +3,7 @@ from flask import Flask
from flask_sqlalchemy import SQLAlchemy from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate from flask_migrate import Migrate
from flask_login import LoginManager from flask_login import LoginManager
from flask_httpauth import HTTPAuth from flask_httpauth import HTTPBasicAuth
app = Flask(__name__) app = Flask(__name__)
app.config.from_object('canteeneo.config.BaseConfig') app.config.from_object('canteeneo.config.BaseConfig')
......
from canteeneo import app, db from canteeneo import app, db, auth
from flask import jsonify, request from flask import jsonify, request
from models import Dish, Stall, Location, User from models import Dish, Stall, Location, User
from datetime import datetime from datetime import datetime
...@@ -63,6 +63,7 @@ def new_user(): ...@@ -63,6 +63,7 @@ def new_user():
@auth.verify_password @auth.verify_password
def verify_password(username, password): def verify_password(username, password):
user = User.query.filter_by()
pass pass
@app.route('/api/token') @app.route('/api/token')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment