From 1fc0caae7422c56138b270790bbbcdbb7ba5a901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 4 Dec 2017 16:48:21 +0100 Subject: [PATCH] authentic: update to new new CUT ou slugs --- grandlyon/scripts/sync-cut.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/grandlyon/scripts/sync-cut.py b/grandlyon/scripts/sync-cut.py index 08c73fa..ad2ddbc 100644 --- a/grandlyon/scripts/sync-cut.py +++ b/grandlyon/scripts/sync-cut.py @@ -24,6 +24,12 @@ ou_mapping = { 'gnm-dardilly': OrganizationalUnit.objects.get(slug='hobo-dardilly'), 'gnm-oullins': OrganizationalUnit.objects.get(slug='hobo-oullins'), 'gnm-vaulx-en-velin': OrganizationalUnit.objects.get(slug='hobo-vaulx-en-velin'), + + # new new names + 'gl-guichet-numerique-bron': OrganizationalUnit.objects.get(slug='hobo-bron'), + 'gl-guichet-numerique-dardilly': OrganizationalUnit.objects.get(slug='hobo-dardilly'), + 'gl-guichet-numerique-oullins': OrganizationalUnit.objects.get(slug='hobo-oullins'), + 'gl-guichet-numerique-vaulx-en-velin': OrganizationalUnit.objects.get(slug='hobo-vaulx-en-velin'), } cut_agents = OIDCProvider.objects.get(name='cut-agents')