From 17e683eed2197b52850cbad4419d877c583d2f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 1 Nov 2011 14:19:10 +0100 Subject: [PATCH] export commission id --- themis/datatypes/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themis/datatypes/views.py b/themis/datatypes/views.py index 0b43009..2894c4a 100644 --- a/themis/datatypes/views.py +++ b/themis/datatypes/views.py @@ -43,7 +43,7 @@ class DeputyPhoto(BrowserView): class CommissionJson(BrowserView): def __call__(self): import themis.importexport.utils - d = {} + d = {'id': self.context.id} for k in ('title', 'active', 'president', 'vicepresidents', 'members', 'substitutes', 'competences', 'ministries'): if not hasattr(self.context, k):