mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-03 00:15:46 +02:00
Included settings to disable teams
This commit is contained in:
parent
f6fe738b58
commit
4f5e9d6006
@ -99,7 +99,11 @@ class QuickDjangoTest(object):
|
|||||||
STATIC_URL='/static/',
|
STATIC_URL='/static/',
|
||||||
LOGIN_URL='/helpdesk/login/',
|
LOGIN_URL='/helpdesk/login/',
|
||||||
TEMPLATES=self.TEMPLATES,
|
TEMPLATES=self.TEMPLATES,
|
||||||
SITE_ID=1
|
SITE_ID=1,
|
||||||
|
## The following settings disable teams
|
||||||
|
HELPDESK_TEAMS_MODEL = 'auth.User',
|
||||||
|
HELPDESK_TEAMS_MIGRATION_DEPENDENCIES = [],
|
||||||
|
HELPDESK_KBITEM_TEAM_GETTER = lambda _: None
|
||||||
)
|
)
|
||||||
|
|
||||||
from django.test.runner import DiscoverRunner
|
from django.test.runner import DiscoverRunner
|
||||||
|
Loading…
x
Reference in New Issue
Block a user