export commission id

This commit is contained in:
Frédéric Péters 2011-11-01 14:19:10 +01:00
parent bbd17ecaa2
commit 17e683eed2
1 changed files with 1 additions and 1 deletions

View File

@ -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):