json: also export deputy id
This commit is contained in:
parent
4038b8d8ad
commit
6b0daffe17
|
@ -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,
|
||||
|
|
Reference in New Issue