From fc5a4900efe03eb660d2b628b5fa212e6f54fa02 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 29 Jun 2018 11:53:51 +0200 Subject: [PATCH] settings: remove alfortville default validation steps (#22550) --- welco/locale/fr/LC_MESSAGES/django.po | 12 ------------ welco/settings.py | 16 ++++++++-------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/welco/locale/fr/LC_MESSAGES/django.po b/welco/locale/fr/LC_MESSAGES/django.po index a9fe711..97a4d21 100644 --- a/welco/locale/fr/LC_MESSAGES/django.po +++ b/welco/locale/fr/LC_MESSAGES/django.po @@ -296,18 +296,6 @@ msgstr "Mots-clés…" msgid "Back to search" msgstr "Retourner à la recherche" -#: settings.py:177 -msgid "Send to DGS" -msgstr "Transmettre au DGS" - -#: settings.py:178 -msgid "Send to DGA" -msgstr "Transmettre au Dgd/CabMaire" - -#: settings.py:179 -msgid "Send to service" -msgstr "Transmettre au service" - #: sources/counter/models.py:26 msgid "Counter Presence" msgstr "Présence au guichet" diff --git a/welco/settings.py b/welco/settings.py index 60cda87..aaa5f23 100644 --- a/welco/settings.py +++ b/welco/settings.py @@ -184,15 +184,15 @@ HAYSTACK_CONNECTIONS = { HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor' -VALIDATION_STEPS = { - 'mail': ['done-qualif', 'done-dgs', 'done-dga'], -} +# Add validation circuit on specific sources, example: +# VALIDATION_STEPS = {'mail': ['done-qualif', 'done-dgs', 'done-dga']} +# VALIDATION_STEP_LABELS = { +# 'done-qualif': _('Send to DGS'), +# 'done-dgs': _('Send to DGA'), +# 'done-dga': _('Send to service')} -VALIDATION_STEP_LABELS = { - 'done-qualif': _('Send to DGS'), - 'done-dgs': _('Send to DGA'), - 'done-dga': _('Send to service'), -} +VALIDATION_STEPS = {} +VALIDATION_STEP_LABELS = {} # mapping of channel to group/role *names* CHANNEL_ROLES = {