Created config module to avoid circular import
This commit is contained in:
parent
da821bcadb
commit
4431564304
@ -1,4 +1,4 @@
|
||||
from main import Config
|
||||
from config import Config
|
||||
from os import path
|
||||
from pathlib import Path
|
||||
|
||||
|
1
ref-test/config.py
Normal file
1
ref-test/config.py
Normal file
@ -0,0 +1 @@
|
||||
from app.config import DevelopmentConfig as Config
|
@ -1,5 +1,5 @@
|
||||
from app.modules import bootstrap, csrf, db, login_manager, mail
|
||||
from app.config import DevelopmentConfig as Config
|
||||
from config import Config
|
||||
|
||||
from flask import Flask
|
||||
from flask_wtf.csrf import CSRFError
|
||||
|
Loading…
Reference in New Issue
Block a user