applications: enable chrono components (#82703)
gitea/hobo/pipeline/head This commit looks good
Details
gitea/hobo/pipeline/head This commit looks good
Details
This commit is contained in:
parent
dd16a73f55
commit
b856010021
|
@ -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):
|
||||
|
|
|
@ -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')},
|
||||
|
|
Loading…
Reference in New Issue