Skip to content

Commit

Permalink
fix settings duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-peters committed Aug 7, 2024
1 parent 5447ff2 commit 4276505
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions coldfront/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@
'fontawesome_free',
'mathfilters',
# 'debug_toolbar',
'ifxuser',
'author',
'ifxbilling',
'ifxreport',
# 'ifxuser',
# 'author',
# 'ifxbilling',
# 'ifxreport',
]

# ColdFront Apps
Expand Down
5 changes: 3 additions & 2 deletions coldfront/config/plugins/ifx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
'''
import os
from decimal import Decimal
from coldfront.config.base import INSTALLED_APPS, MIDDLEWARE
from coldfront.config.base import MIDDLEWARE, INSTALLED_APPS

INSTALLED_APPS = ['ifxuser'] + INSTALLED_APPS + ['author', 'ifxbilling', 'rest_framework.authtoken', 'ifxreport', 'django_extensions']
INSTALLED_APPS.insert(0, 'ifxuser')
INSTALLED_APPS += ['author', 'ifxbilling', 'rest_framework.authtoken', 'ifxreport', 'django_extensions']

MIDDLEWARE += [
'author.middlewares.AuthorDefaultBackendMiddleware',
Expand Down
5 changes: 2 additions & 3 deletions coldfront/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from split_settings.tools import optional, include
from coldfront.config.env import ENV, PROJECT_ROOT


# enable correct url to be displayed in e.g. email correspondence
USE_X_FORWARDED_HOST = True

Expand All @@ -18,10 +17,11 @@

# ColdFront plugin settings
plugin_configs = {
'PLUGIN_IFX': 'plugins/ifx.py',
'PLUGIN_SLURM': 'plugins/slurm.py',
'PLUGIN_IQUOTA': 'plugins/iquota.py',
'PLUGIN_FREEIPA': 'plugins/freeipa.py',
'PLUGIN_SYSMON': 'plugins/system_montior.py',
'PLUGIN_SYSMON': 'plugins/system_monitor.py',
'PLUGIN_XDMOD': 'plugins/xdmod.py',
'PLUGIN_AUTH_OIDC': 'plugins/openid.py',
'PLUGIN_AUTH_LDAP': 'plugins/ldap.py',
Expand All @@ -30,7 +30,6 @@
'PLUGIN_LDAP': 'plugins/ldap_fasrc.py',
'PLUGIN_SFTOCF': 'plugins/sftocf.py',
'PLUGIN_FASRC': 'plugins/fasrc.py',
'PLUGIN_IFX': 'plugins/ifx.py',
'PLUGIN_FASRC_MONITORING': 'plugins/fasrc_monitoring.py',
'PLUGIN_ISILON': 'plugins/isilon.py',
}
Expand Down

0 comments on commit 4276505

Please sign in to comment.