Skip to content

Commit 54eeea9

Browse files
authored
Merge pull request #1379 from TOMToolkit/bug/fix_old_doc_link
Updated links to current documentation
2 parents 33247c1 + afd62ec commit 54eeea9

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

tom_setup/templates/tom_setup/settings.tmpl

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Originally generated by 'django-admin startproject' using Django 2.1.1.
55
Generated by ./manage.py tom_setup on {{ CREATE_DATE }}
66
77
For 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
1010
For 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
"""
1313
import logging.config
1414
import 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!
2626
SECRET_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

113113
DATABASES = {
114114
'default': {
@@ -120,7 +120,7 @@ DATABASES = {
120120
DEFAULT_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

125125
AUTH_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

152152
LANGUAGE_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

169169
STATIC_URL = '/static/'
170170
STATIC_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

194194
CACHES = {
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
# ]
315318
EXTRA_FIELDS = []
319+
320+
# This list can be used to add custom target parameters to the output from the target selection tool
316321
SELECTION_EXTRA_FIELDS = []
317322

318323
# Authentication strategy can either be LOCKED (required login for all views)

0 commit comments

Comments
 (0)