FIX: reverted to 46d1d76075

This commit is contained in:
mark-tesobe 2023-01-12 20:27:36 +08:00
parent d5d50531ac
commit 92891fc07d
2 changed files with 5 additions and 2 deletions

View File

@ -89,7 +89,7 @@ or maybe upgrade dependency version, If still facing issue to run **pip install
├── static-collected
└── venv
```
6. Then, update information in local_setting.py file, the example is below for updating information. For this file, required **BASE_DIR**, **EXCLUDE_APPS**, **EXCLUDE_FUNCTIONS**, **EXCLUDE_URL_PATTERN**, **API_EXPLORER_APP_NAME**, **API_DATEFORMAT**, **SECRET_KEY**, **API_HOST**, **OAUTH_CONSUMER_KEY** and **OAUTH_CONSUMER_SECRET** to run this app. For this purpose, must be OBP-API running locally. Follow these steps to run [OBP-API Local](https://github.com/OpenBankProject/OBP-API).
6. Then, update information in local_setting.py file, the example is below for updating information. For this file, required **OAUTH_CONSUMER_KEY** and **OAUTH_CONSUMER_SECRET** to run this app. For this purpose, must be OBP-API running locally. Follow these steps to run [OBP-API Local](https://github.com/OpenBankProject/OBP-API).
```python

View File

@ -308,7 +308,10 @@ CALLBACK_BASE_URL = ""
UNDEFINED = "<undefined>"
# Local settings can replace any value ABOVE
from apimanager.local_settings import BASE_DIR, EXCLUDE_APPS, EXCLUDE_FUNCTIONS, EXCLUDE_URL_PATTERN, API_EXPLORER_APP_NAME, API_DATEFORMAT, SECRET_KEY, API_HOST, OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET # noqa
try:
from apimanager.local_settings import * # noqa
except ImportError:
pass
# EVERYTHING BELOW HERE WILL *NOT* BE OVERWRITTEN BY LOCALSETTINGS!
# DO NOT TRY TO DO SO YOU WILL BE IGNORED!