diff --git a/taiga/projects/api.py b/taiga/projects/api.py index 94205bb6..3becb2d3 100644 --- a/taiga/projects/api.py +++ b/taiga/projects/api.py @@ -48,7 +48,7 @@ class ProjectAdminViewSet(ModelCrudViewSet): # TODO REFACTOR THIS if not obj.id: - obj.template = self.request.QUERY_PARAMS['template'] + obj.template = self.request.QUERY_PARAMS.get('template', None) # FIXME