mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 07:53:19 +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)
|
settings, 'HELPDESK_USE_HTTPS_IN_EMAIL_LINK', settings.SECURE_SSL_REDIRECT)
|
||||||
|
|
||||||
# Default to True for backwards compatibility
|
# Default to True for backwards compatibility
|
||||||
HELPDESK_TEAMS_MODE_ENABLED = False if hasattr(settings, 'HELPDESK_TEAMS_MODE_ENABLED') and getattr(
|
HELPDESK_TEAMS_MODE_ENABLED = getattr(settings, 'HELPDESK_TEAMS_MODE_ENABLED', True)
|
||||||
settings, 'HELPDESK_TEAMS_MODE_ENABLED', True) is False else True
|
|
||||||
if HELPDESK_TEAMS_MODE_ENABLED:
|
if HELPDESK_TEAMS_MODE_ENABLED:
|
||||||
HELPDESK_TEAMS_MODEL = getattr(
|
HELPDESK_TEAMS_MODEL = getattr(
|
||||||
settings, 'HELPDESK_TEAMS_MODEL', 'pinax_teams.Team')
|
settings, 'HELPDESK_TEAMS_MODEL', 'pinax_teams.Team')
|
||||||
|
Loading…
Reference in New Issue
Block a user