Revision 14569c60 snf-pithos-app/pithos/api/settings.py
b/snf-pithos-app/pithos/api/settings.py | ||
---|---|---|
183 | 183 |
# The backend block hash algorithm |
184 | 184 |
BACKEND_HASH_ALGORITHM = getattr( |
185 | 185 |
settings, 'PITHOS_BACKEND_HASH_ALGORITHM', 'sha256') |
186 |
|
|
186 | 187 |
# Set the credentials (client_id, client_secret) issued to authenticate |
187 | 188 |
# the views with astakos during the resource access token generation procedure |
188 | 189 |
OA2_CLIENT_CREDENTIALS = getattr(settings, 'PITHOS_OA2_CLIENT_CREDENTIALS', |
189 | 190 |
(None, None)) |
191 |
|
|
192 |
# Set to False to serve only views |
|
193 |
SERVE_API = getattr(settings, 'PITHOS_SERVE_API', True) |
Also available in: Unified diff