1.started removal of CDNs.\n 2. Improved modular structure for all parts of project including database.
This commit is contained in:
14
extensions.py
Normal file
14
extensions.py
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
from flask import Flask, render_template, jsonify, request, render_template_string, send_from_directory, redirect, url_for, session, current_app
|
||||
from flask_cors import CORS
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from flask_mail import Mail, Message
|
||||
from flask_wtf.csrf import CSRFProtect
|
||||
from authlib.integrations.flask_client import OAuth
|
||||
|
||||
|
||||
csrf = CSRFProtect()
|
||||
cors = CORS()
|
||||
db = SQLAlchemy()
|
||||
mail = Mail()
|
||||
oauth = OAuth()
|
||||
Reference in New Issue
Block a user