mirror of
https://github.com/Xevion/runnerspace.git
synced 2026-01-31 10:25:59 -06:00
Migrate app to use WTForms for auth form validation
- Not finished yet, major styling breakage in this commit - Also encapsulated GET & POST requests of /login and /signup routes into one route.
This commit is contained in:
@@ -44,7 +44,7 @@ def create_app():
|
||||
from routes import blueprint as routes_blueprint
|
||||
app.register_blueprint(routes_blueprint)
|
||||
|
||||
from forms import blueprint as forms_blueprint
|
||||
from route_forms import blueprint as forms_blueprint
|
||||
app.register_blueprint(forms_blueprint)
|
||||
|
||||
@app.errorhandler(404)
|
||||
|
||||
Reference in New Issue
Block a user