mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-18 01:14:59 +00:00
Bugs bugs bugs bugs bugs bugs
I love bugs
This commit is contained in:
parent
28d5f140c0
commit
377f20ce10
7 changed files with 34 additions and 12 deletions
|
@ -1,9 +1,21 @@
|
|||
import logging
|
||||
from os import path
|
||||
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from flask_migrate import Migrate
|
||||
from flask_assets import Environment
|
||||
from flask_caching import Cache
|
||||
from flask_login import LoginManager
|
||||
|
||||
from .config import LOGS_DIR
|
||||
|
||||
logger = logging
|
||||
logger.getLogger(path.join(LOGS_DIR, "server.log"))
|
||||
logger.basicConfig(
|
||||
level=logging.DEBUG,
|
||||
format="%(asctime)s %(levelname)s %(name)s %(threadName)s : %(message)s",
|
||||
)
|
||||
|
||||
db = SQLAlchemy()
|
||||
migrate = Migrate()
|
||||
assets = Environment()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue