]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 14 Nov 2021 18:42:31 +0000 (19:42 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 14 Nov 2021 18:42:31 +0000 (19:42 +0100)
bin
lib/pdfannotator
teleforma/admin.py

diff --git a/bin b/bin
index 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd..c5d2023de2f038cb865a148076a4dc4ec24efaf7 160000 (submodule)
--- a/bin
+++ b/bin
@@ -1 +1 @@
-Subproject commit 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd
+Subproject commit c5d2023de2f038cb865a148076a4dc4ec24efaf7
index ce69eca18a6f5b8774215725fd6b42534f13412f..c6b953270e4e8a7d97853d7a784f8e6df9ed9c53 160000 (submodule)
@@ -1 +1 @@
-Subproject commit ce69eca18a6f5b8774215725fd6b42534f13412f
+Subproject commit c6b953270e4e8a7d97853d7a784f8e6df9ed9c53
index e49b494a4a629eece4b49930c3e7b1f0591c213e..5c58c4fbad14785b0f7ee33624b0bf6e223daf68 100644 (file)
@@ -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: