Revision 4a105ce2 snf-pithos-app/pithos/api/settings.py
b/snf-pithos-app/pithos/api/settings.py | ||
---|---|---|
66 | 66 |
QUOTAHOLDER_TOKEN = getattr(settings, 'PITHOS_QUOTAHOLDER_TOKEN', '') |
67 | 67 |
QUOTAHOLDER_POOLSIZE = getattr(settings, 'PITHOS_QUOTAHOLDER_POOLSIZE', 200) |
68 | 68 |
|
69 |
# Set public url length and alphabet |
|
70 |
PUBLIC_URL_MIN_LENGTH = getattr(settings, 'PITHOS_PUBLIC_URL_MIN_LENGTH', 8) |
|
69 |
# Set how many random bytes to use for constructing the URL of Pithos public files |
|
70 |
PUBLIC_URL_SECURITY = getattr(settings, 'PITHOS_PUBLIC_URL_SECURITY', 16) |
|
71 |
# Set the alphabet to use for constructing the URL of Pithos public files |
|
71 | 72 |
PUBLIC_URL_ALPHABET = getattr( |
72 | 73 |
settings, |
73 | 74 |
'PITHOS_PUBLIC_URL_ALPHABET', |
Also available in: Unified diff