mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 10:59:00 +00:00
FIX: reverted to 46d1d76075
This commit is contained in:
parent
d5d50531ac
commit
92891fc07d
@ -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
|
||||
|
||||
@ -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!
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user