From: Guillaume Pellerin Date: Sun, 14 Nov 2021 18:42:31 +0000 (+0100) Subject: bugfix X-Git-Tag: 2.5.0~41 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=ccf229fc6b4bfbd69ebe41c791454803a0d62623;p=teleforma.git bugfix --- 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: