From 6de5351aced054731f862a524e9d4c5e14560615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 27 Oct 2011 15:29:30 +0200 Subject: [PATCH] json: export seat_number attribute --- themis/datatypes/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/themis/datatypes/views.py b/themis/datatypes/views.py index 17df8d4..f241434 100644 --- a/themis/datatypes/views.py +++ b/themis/datatypes/views.py @@ -16,6 +16,7 @@ class DeputyJson(BrowserView): 'website': self.context.website, 'degrees': self.context.degrees, 'mandates': self.context.mandates, + 'seat_number': self.context.seat_number, } if self.context.polgroup: d['polgroup'] = self.context.polgroup.to_object.title