Fixed small bug on templates selection

remotes/origin/enhancement/email-actions
Jesús Espino 2014-03-03 22:53:22 +01:00
parent 518c97d989
commit 3343ebec8f
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class ProjectAdminViewSet(ModelCrudViewSet):
# TODO REFACTOR THIS # TODO REFACTOR THIS
if not obj.id: if not obj.id:
obj.template = self.request.QUERY_PARAMS['template'] obj.template = self.request.QUERY_PARAMS.get('template', None)
# FIXME # FIXME