Fixed bug where forms module did not exist
This commit is contained in:
Binary file not shown.
BIN
core/__pycache__/forms.cpython-310.pyc
Normal file
BIN
core/__pycache__/forms.cpython-310.pyc
Normal file
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
from flask import Flask, render_template, session, request, url_for, redirect, g
|
from flask import Flask, render_template, session, request, url_for, redirect, g
|
||||||
from werkzeug.security import generate_password_hash, check_password_hash
|
from werkzeug.security import generate_password_hash, check_password_hash
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
from forms import SignupForm, LoginForm
|
from core.forms import SignupForm, LoginForm
|
||||||
|
|
||||||
app = Flask(__name__, template_folder="../ui/templates/")
|
app = Flask(__name__, template_folder="../ui/templates/")
|
||||||
app.config["SECRET_KEY"] = "j9573-4952-9029-1034"
|
app.config["SECRET_KEY"] = "j9573-4952-9029-1034"
|
||||||
@@ -61,7 +61,4 @@ def login():
|
|||||||
password = form.username.data
|
password = form.username.data
|
||||||
|
|
||||||
# Compare with database
|
# Compare with database
|
||||||
return
|
return
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
app.run(debug=True)
|
|
||||||
Reference in New Issue
Block a user