From 6b0daffe172d55b53ac758e3f37e7dd10bc7a118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 18 Oct 2011 21:00:30 +0200 Subject: [PATCH] json: also export deputy id --- themis/datatypes/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/themis/datatypes/views.py b/themis/datatypes/views.py index 4712d09..722ed70 100644 --- a/themis/datatypes/views.py +++ b/themis/datatypes/views.py @@ -5,6 +5,7 @@ from Products.Five import BrowserView class DeputyJson(BrowserView): def __call__(self): d = { + 'id': self.context.id, 'firstname': self.context.firstname, 'lastname': self.context.lastname, 'active': self.context.active,