]> git.parisson.com Git - teleforma.git/commitdiff
update help texts
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 27 Oct 2016 17:14:37 +0000 (19:14 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 27 Oct 2016 17:14:37 +0000 (19:14 +0200)
teleforma/forms.py
teleforma/models/crfpa.py

index 3d529af308de2be4b5247b16a580137274da375a..ee5e611f24d9ec05e5223fbc8ecbdd576b663c7b 100644 (file)
@@ -64,4 +64,4 @@ class StudentInline(InlineFormSet):
     model = Student
     can_delete = False
     fields = ['level', 'iej', 'period', 'training', 'platform_only', 'procedure',
-                'written_speciality', 'oral_speciality', 'oral_1', 'oral_2', 'promo_code']
+                'written_speciality', 'oral_1', 'promo_code']
index e1af036ce38ccfc9876fd1a6b84e87c198d29e7e..454c5981a675d4fa4f110234cb0ec634c52ba3cc 100644 (file)
@@ -123,12 +123,15 @@ class Student(Model):
     written_speciality = models.ForeignKey('Course', related_name="written_speciality_students",
                                         verbose_name=_('written speciality'), help_text="Matière juridique de spécialité",
                                         blank=True, null=True, limit_choices_to={'written_speciality': True})
+    written_speciality = models.ForeignKey('Course', related_name="written_speciality_2students",
+                                    verbose_name=_('written speciality'), help_text="Matière juridique de spécialité",
+                                    blank=True, null=True, limit_choices_to={'written_speciality': True})
     oral_speciality = models.ForeignKey('Course', related_name="oral_speciality_students",
                                         verbose_name=_('oral speciality'),
                                         help_text="Matière d’oral de spécialité (matière incluse dans la formation approfondie, en option pour toutes les autres formations)",
                                         blank=True, null=True, limit_choices_to={'oral_speciality': True})
-    oral_1 = models.ForeignKey('Course', related_name="oral_1_students", verbose_name=_('oral 1 (option)'),
-                                        help_text="Matière d’oral technique 1 (en option)",
+    oral_1 = models.ForeignKey('Course', related_name="oral_1_students", verbose_name=_('oral de langue (option)'),
+                                        help_text="Matière d’oral de langue (en option)",
                                         blank=True, null=True, limit_choices_to={'oral_1': True})
     oral_2 = models.ForeignKey('Course', related_name="oral_2_students", verbose_name=_('oral 2 (option)'),
                                         help_text="Matière d’oral technique 2 (en option)",