Skip to content

Commit ef70e1a

Browse files
committed
add TOMTOOLKIT to variable name
1 parent 1b4c165 commit ef70e1a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tom_common/default_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
https://docs.djangoproject.com/en/4.2/ref/settings/
1111
"""
1212

13-
CORE_INSTALLED_APPS = [
13+
TOMTOOKIT_INSTALLED_APPS = [
1414
'django.contrib.admin',
1515
'django.contrib.auth',
1616
'django.contrib.contenttypes',
@@ -40,7 +40,7 @@
4040
'tom_dataproducts',
4141
]
4242

43-
CORE_MIDDLEWARE = [
43+
TOMTOOKIT_MIDDLEWARE = [
4444
'django.middleware.security.SecurityMiddleware',
4545
'django.contrib.sessions.middleware.SessionMiddleware',
4646
'django.middleware.common.CommonMiddleware',

tom_setup/templates/tom_setup/settings.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ TOM_NAME = '{{ PROJECT_NAME }}'
4141
# Use built-in css theme to change the look of your TOM. (Valid themes = [Dark,])
4242
# CSS_THEME = 'Dark'
4343

44-
INSTALLED_APPS = CORE_INSTALLED_APPS + [
44+
INSTALLED_APPS = TOMTOOKIT_INSTALLED_APPS + [
4545
'{{ CUSTOM_CODE_APP_NAME }}',
4646
]
4747

4848
SITE_ID = 1
4949

50-
MIDDLEWARE = CORE_MIDDLEWARE + [
50+
MIDDLEWARE = TOMTOOKIT_MIDDLEWARE + [
5151
]
5252

5353
ROOT_URLCONF = '{{ PROJECT_NAME }}.urls'

0 commit comments

Comments
 (0)