mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 01:13:31 +01:00
Update helpdesk/settings.py
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
This commit is contained in:
parent
6cba903827
commit
da00cf67b3
@ -229,8 +229,7 @@ HELPDESK_USE_HTTPS_IN_EMAIL_LINK = getattr(
|
||||
settings, 'HELPDESK_USE_HTTPS_IN_EMAIL_LINK', settings.SECURE_SSL_REDIRECT)
|
||||
|
||||
# Default to True for backwards compatibility
|
||||
HELPDESK_TEAMS_MODE_ENABLED = False if hasattr(settings, 'HELPDESK_TEAMS_MODE_ENABLED') and getattr(
|
||||
settings, 'HELPDESK_TEAMS_MODE_ENABLED', True) is False else True
|
||||
HELPDESK_TEAMS_MODE_ENABLED = getattr(settings, 'HELPDESK_TEAMS_MODE_ENABLED', True)
|
||||
if HELPDESK_TEAMS_MODE_ENABLED:
|
||||
HELPDESK_TEAMS_MODEL = getattr(
|
||||
settings, 'HELPDESK_TEAMS_MODEL', 'pinax_teams.Team')
|
||||
|
Loading…
Reference in New Issue
Block a user