Set default config values.
This commit is contained in:
parent
1b8c1eda91
commit
61b9d476ab
@ -551,6 +551,7 @@ def default_config(sender, key, **kwargs):
|
||||
'application_min_supporters': 0,
|
||||
'application_preamble': 'Die Versammlung möge beschließen,',
|
||||
'application_pdf_ballot_papers_selection': '1',
|
||||
'application_pdf_ballot_papers_number': '0',
|
||||
'application_pdf_ballot_papers_number': '1',
|
||||
'application_pdf_title': _('Applications'),
|
||||
'application_pdf_preamble': '',
|
||||
}.get(key)
|
||||
|
@ -199,7 +199,9 @@ from openslides.config.signals import default_config_value
|
||||
@receiver(default_config_value, dispatch_uid="assignment_default_config")
|
||||
def default_config(sender, key, **kwargs):
|
||||
return {
|
||||
'assignment_pdf_ballot_papers_selection': '1',
|
||||
'assignment_pdf_title': _('Elections'),
|
||||
'assignment_publish_winner_results_only': False,
|
||||
'assignment_pdf_ballot_papers_selection': '1',
|
||||
'assignment_pdf_ballot_papers_number': '1',
|
||||
'assignment_pdf_title': _('Elections'),
|
||||
'assignment_pdf_preamble': '',
|
||||
}.get(key)
|
||||
|
Loading…
Reference in New Issue
Block a user