mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-15 18:13:25 -06:00
reformat using Black
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Main Flask and Flask configs
|
||||
from flask import Flask
|
||||
from config import Config
|
||||
|
||||
# Flask Extensions
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from flask_migrate import Migrate
|
||||
@@ -14,11 +15,11 @@ app.config.from_object(Config)
|
||||
app.url_map.strict_slashes = False
|
||||
# App extension setup
|
||||
login = LoginManager(app)
|
||||
login.login_view = 'login'
|
||||
login.login_view = "login"
|
||||
db = SQLAlchemy(app)
|
||||
migrate = Migrate(app, db)
|
||||
limiter = Limiter(app, key_func=get_remote_address, default_limits=["10 per second"])
|
||||
|
||||
from app import models
|
||||
from app import forms
|
||||
from app import routes
|
||||
from app import routes
|
||||
|
||||
Reference in New Issue
Block a user