Update config.py

This commit is contained in:
Jiri 2022-03-16 22:24:58 +01:00
parent 27d2bfe5ba
commit 569e52a27d

View File

@ -77,7 +77,7 @@ def config(settings):
# Uncomment this to have the Organisation Group selection during registration be mandatory # Uncomment this to have the Organisation Group selection during registration be mandatory
#settings.auth.registration_organisation_group_required = True #settings.auth.registration_organisation_group_required = True
# Uncomment this to request the Site when a user registers # Uncomment this to request the Site when a user registers
#settings.auth.registration_requests_site = True settings.auth.registration_requests_site = True
# Uncomment this to allow Admin to see Organisations in User Admin even if the Registration doesn't request this # Uncomment this to allow Admin to see Organisations in User Admin even if the Registration doesn't request this
#settings.auth.admin_sees_organisation = True #settings.auth.admin_sees_organisation = True
# Uncomment to set the default role UUIDs assigned to newly-registered users # Uncomment to set the default role UUIDs assigned to newly-registered users
@ -185,16 +185,15 @@ def config(settings):
# Uncomment this to Translate Site Names # Uncomment this to Translate Site Names
#settings.L10n.translate_org_site = True #settings.L10n.translate_org_site = True
# PDF font # PDF font
settings.L10n.pdf_export_font = ['Helvetica', 'Helvetica-Bold'] settings.L10n.pdf_export_font = ['Roboto', 'Roboto-Bold']
# Finance settings # Finance settings
settings.fin.currencies = { settings.fin.currencies = {
"BTC" : "BitCoin",
"CZK" : "Czech Koruna", "CZK" : "Czech Koruna",
"EUR" : "Euro", "EUR" : "Euro",
"GBP" : "Great British Pounds", "GBP" : "Great British Pounds",
"USD" : "United States Dollars", "USD" : "United States Dollars",
"CHF" : "Switzerland franc", "CHF" : "Switzerland Franc",
} }
settings.fin.currency_default = "CZK" settings.fin.currency_default = "CZK"
#settings.fin.currency_writable = False # False currently breaks things #settings.fin.currency_writable = False # False currently breaks things