From e802422a588cf109f961fea62f168c4d2a5d0dce Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 14 Mar 2017 18:02:44 +0100 Subject: [PATCH] fix call input --- app/organization/projects/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/organization/projects/views.py b/app/organization/projects/views.py index 7793bfd5..7130564f 100644 --- a/app/organization/projects/views.py +++ b/app/organization/projects/views.py @@ -155,6 +155,7 @@ class ProjectICTCreateView(ProjectCallMixin, CreateWithInlinesView): def forms_valid(self, form, inlines): self.object = form.save() + self.call = ProjectCall.objects.get(slug=self.kwargs['slug']) self.object.call = self.call self.object.topic, c = ProjectTopic.objects.get_or_create(name='ICT') self.object.save() -- 2.39.5