diff --git a/themis/datatypes/views.py b/themis/datatypes/views.py index 0b43009..2894c4a 100644 --- a/themis/datatypes/views.py +++ b/themis/datatypes/views.py @@ -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):