export commission id
This commit is contained in:
parent
bbd17ecaa2
commit
17e683eed2
|
@ -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):
|
||||
|
|
Reference in New Issue