applications: enable chrono components (#82703)

This commit is contained in:
Lauréline Guérin 2023-10-23 14:25:11 +02:00 committed by Lauréline Guérin
parent c3383b8491
commit 34c88ba2fc
2 changed files with 5 additions and 0 deletions

View File

@ -109,6 +109,8 @@ class Application(models.Model):
modules = ['wcs']
if settings.HOBO_APPLICATION_COMBO_SUPPORT:
modules.append('combo')
if settings.HOBO_APPLICATION_CHRONO_SUPPORT:
modules.append('chrono')
return modules
def save(self, *args, **kwargs):

View File

@ -247,6 +247,9 @@ HOBO_SERVICES_ENABLED = []
# Support for combo elements in applications
HOBO_APPLICATION_COMBO_SUPPORT = False
# Support for chrono elements in applications
HOBO_APPLICATION_CHRONO_SUPPORT = False
# Phone prefixes by country for phone number as authentication identifier
PHONE_COUNTRY_CODES = {
'32': {'region': 'BE', 'region_desc': _('Belgium')},