applications: enable chrono components (#82703)
gitea/hobo/pipeline/head This commit looks good Details

This commit is contained in:
Lauréline Guérin 2023-10-23 14:25:11 +02:00
parent dd16a73f55
commit b856010021
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
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')},