From 3343ebec8f4ee7f295de9229134e2488040e91d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Mon, 3 Mar 2014 22:53:22 +0100 Subject: [PATCH] Fixed small bug on templates selection --- taiga/projects/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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