@@ -5,10 +5,10 @@ Originally generated by 'django-admin startproject' using Django 2.1.1.
55Generated by ./manage.py tom_setup on {{ CREATE_DATE }}
66
77For more information on this file, see
8- https://docs.djangoproject.com/en/2.1 /topics/settings/
8+ https://docs.djangoproject.com/en/4.2 /topics/settings/
99
1010For the full list of settings and their values, see
11- https://docs.djangoproject.com/en/2.1 /ref/settings/
11+ https://docs.djangoproject.com/en/4.2 /ref/settings/
1212" " "
1313import logging.config
1414import os
@@ -20,7 +20,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
2020
2121
2222# Quick-start development settings - unsuitable for production
23- # See https://docs.djangoproject.com /en/2 .1 /howto/deployment/checklist/
23+ # See https://docs.djangoproject.com /en/4 .2 /howto/deployment/checklist/
2424
2525# SECURITY WARNING: keep the secret key used in production secret!
2626SECRET_KEY = '{{ SECRET_KEY }}'
@@ -108,7 +108,7 @@ WSGI_APPLICATION = '{{ PROJECT_NAME }}.wsgi.application'
108108
109109
110110# Database
111- # https://docs.djangoproject.com /en/2 .1 /ref/settings/#databases
111+ # https://docs.djangoproject.com /en/4 .2 /ref/settings/#databases
112112
113113DATABASES = {
114114 'default': {
@@ -120,7 +120,7 @@ DATABASES = {
120120DEFAULT_AUTO_FIELD = 'django.db.models.AutoField '
121121
122122# Password validation
123- # https://docs.djangoproject.com /en/2 .1 /ref/settings/#auth-password-validators
123+ # https://docs.djangoproject.com /en/4 .2 /ref/settings/#auth-password-validators
124124
125125AUTH_PASSWORD_VALIDATORS = [
126126 {
@@ -147,7 +147,7 @@ AUTHENTICATION_BACKENDS = (
147147)
148148
149149# Internationalization
150- # https://docs.djangoproject.com /en/2 .1 /topics/i18n/
150+ # https://docs.djangoproject.com /en/4 .2 /topics/i18n/
151151
152152LANGUAGE_CODE = 'en-us'
153153
@@ -164,7 +164,7 @@ DATE_FORMAT = 'Y-m-d'
164164
165165
166166# Static files (CSS, JavaScript, Images)
167- # https://docs.djangoproject.com /en/2 .1 /howto/static-files/
167+ # https://docs.djangoproject.com /en/4 .2 /howto/static-files/
168168
169169STATIC_URL = '/static/'
170170STATIC_ROOT = os.path.join (BASE_DIR, '_static')
@@ -189,7 +189,7 @@ LOGGING = {
189189}
190190
191191# Caching
192- # https://docs.djangoproject.com /en/dev /topics/cache/#filesystem-caching
192+ # https://docs.djangoproject.com /en/4 .2 /topics/cache/#filesystem-caching
193193
194194CACHES = {
195195 'default': {
@@ -303,8 +303,11 @@ HARVESTERS = {
303303 }
304304}
305305
306- # Define extra target fields here. Types can be any of " number" , " string" , " boolean" or " datetime"
307- # See https://tomtoolkit.github.io /docs/target_fields for documentation on this feature
306+ # You can add science-specific parameters to targets in your TOM. The best way to do this is
307+ # to extend the Target model, or you can define extra target fields here.
308+ # Field types can be any of " number" , " string" , " boolean" or " datetime"
309+ # See https://tom-toolkit.readthedocs.io /en/stable/targets/target_fields.html for documentation on
310+ # this feature
308311# For example:
309312# EXTRA_FIELDS = [
310313# {'name': 'redshift', 'type': 'number'},
@@ -313,6 +316,8 @@ HARVESTERS = {
313316# {'name': 'discovery_date', 'type': 'datetime'}
314317# ]
315318EXTRA_FIELDS = []
319+
320+ # This list can be used to add custom target parameters to the output from the target selection tool
316321SELECTION_EXTRA_FIELDS = []
317322
318323# Authentication strategy can either be LOCKED (required login for all views)
0 commit comments