Renamed CorpContact.title to civility

This matches the same attributes for Student and Teacher models.
This commit is contained in:
Claude Paroz 2018-04-24 12:01:44 +02:00
parent 68e644b6f6
commit 764031a3ee
7 changed files with 37 additions and 25 deletions

View file

@ -35,7 +35,7 @@ class StagesTest(TestCase):
city="Moulineaux", pcode="2500",
)
contact = CorpContact.objects.create(
corporation=corp, title="Monsieur", first_name="Jean", last_name="Horner",
corporation=corp, civility="Monsieur", first_name="Jean", last_name="Horner",
is_main=True, role="Responsable formation",
)
Student.objects.bulk_create([