application: enable lingo components (#86290)
gitea/hobo/pipeline/head This commit looks good
Details
gitea/hobo/pipeline/head This commit looks good
Details
This commit is contained in:
parent
f560c2e1cc
commit
5423cdf475
|
@ -132,6 +132,8 @@ class Application(models.Model):
|
|||
modules.append('combo')
|
||||
if settings.HOBO_APPLICATION_CHRONO_SUPPORT:
|
||||
modules.append('chrono')
|
||||
if settings.HOBO_APPLICATION_LINGO_SUPPORT:
|
||||
modules.append('lingo')
|
||||
return modules
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
|
|
|
@ -249,6 +249,9 @@ HOBO_APPLICATION_COMBO_SUPPORT = False
|
|||
# Support for chrono elements in applications
|
||||
HOBO_APPLICATION_CHRONO_SUPPORT = False
|
||||
|
||||
# Support for lingo elements in applications
|
||||
HOBO_APPLICATION_LINGO_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