scc_access/settings.sample.py

Tue, 12 Dec 2017 09:20:49 +0200

author
Victor Nicolae <victor.nicolae@inoe.ro>
date
Tue, 12 Dec 2017 09:20:49 +0200
changeset 7
415d034b0864
permissions
-rw-r--r--

Package the script in a Python module.

victor@7 1 """ This file contains the user-specific settings for the scc_access script.
victor@7 2
victor@7 3 You should rename the file settings.sample.py to setting.py.
victor@7 4 """
victor@7 5
victor@7 6 # Add here the HTTP user name and password that is needed to access the SCC site.
victor@7 7 BASIC_LOGIN = ('username', 'password')
victor@7 8
victor@7 9 # Add here the user-name and password that is needed to log in to the SCC site.
victor@7 10 # It is recommended to use credential for a user without management privileges
victor@7 11 DJANGO_LOGIN = ('username', 'password')
victor@7 12
victor@7 13 # Change this to the directory to download the files
victor@7 14 OUTPUT_DIR = '/path/to/files/scc_output/'
victor@7 15
victor@7 16 # SCC base URL. Normally you shouldn't need to change that. You should change
victor@7 17 # this only if you want to use a different SCC installation e.g. a local version.
victor@7 18 BASE_URL = 'https://scc.imaa.cnr.it/'

mercurial