From ccf229fc6b4bfbd69ebe41c791454803a0d62623 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 14 Nov 2021 19:42:31 +0100 Subject: [PATCH] bugfix --- bin | 2 +- lib/pdfannotator | 2 +- teleforma/admin.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin b/bin index 52d01bc8..c5d2023d 160000 --- a/bin +++ b/bin @@ -1 +1 @@ -Subproject commit 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd +Subproject commit c5d2023de2f038cb865a148076a4dc4ec24efaf7 diff --git a/lib/pdfannotator b/lib/pdfannotator index ce69eca1..c6b95327 160000 --- a/lib/pdfannotator +++ b/lib/pdfannotator @@ -1 +1 @@ -Subproject commit ce69eca18a6f5b8774215725fd6b42534f13412f +Subproject commit c6b953270e4e8a7d97853d7a784f8e6df9ed9c53 diff --git a/teleforma/admin.py b/teleforma/admin.py index e49b494a..5c58c4fb 100644 --- a/teleforma/admin.py +++ b/teleforma/admin.py @@ -237,6 +237,7 @@ class UserProfileAdmin(UserAdmin): @admin.action(description='Duplicate selected trainings') def duplicate_trainings(modeladmin, request, queryset): + from copy import deepcopy properties = ['synthesis_note', 'obligation', 'procedure', 'oral_speciality', 'written_speciality', 'oral_1', 'oral_2', 'options', 'magistral'] for training in queryset: -- 2.39.5