refactor: clean up __init__ file following some Flask conventions
Flask extensions are loaded in a way that makes them easily reusable by blueprints. In this commit we are also adding `environs` to manage .env and settings: breaking changes! - FLASK_APP=lnbits.app - LNBITS_ALLOWED_USERS needs to be empty now to allow all users (NOT "all")
This commit is contained in:
committed by
fiatjaf
parent
ffa3c3f6a6
commit
1bc5e144d3
@@ -6,6 +6,7 @@ certifi==2020.6.20
|
||||
chardet==3.0.4
|
||||
click==7.1.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
|
||||
ecdsa==0.16.0
|
||||
environs==8.0.0
|
||||
flask-assets==2.0
|
||||
flask-compress==1.5.0
|
||||
flask-cors==3.0.9
|
||||
@@ -16,8 +17,10 @@ itsdangerous==1.1.0; python_version >= '2.7' and python_version not in '3.0, 3.1
|
||||
jinja2==2.11.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
|
||||
lnurl==0.3.5
|
||||
markupsafe==1.1.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
|
||||
marshmallow==3.7.1; python_version >= '3.5'
|
||||
pydantic==1.6.1; python_version >= '3.6'
|
||||
pyscss==1.3.7
|
||||
python-dotenv==0.14.0
|
||||
requests==2.24.0
|
||||
shortuuid==1.0.1
|
||||
six==1.15.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
|
||||
|
||||
Reference in New Issue
Block a user