From ec9f14b5d54b7b49ca71a23cd07ffbba9e57f0bb Mon Sep 17 00:00:00 2001 From: oshtaier Date: Tue, 6 Dec 2016 10:01:31 +0200 Subject: [PATCH] Add host count field to CV entity --- nailgun/entities.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nailgun/entities.py b/nailgun/entities.py index a83cabef..927a633b 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -1537,6 +1537,7 @@ def __init__(self, server_config=None, **kwargs): self._fields = { 'component': entity_fields.OneToManyField(ContentViewVersion), 'composite': entity_fields.BooleanField(), + 'content_host_count': entity_fields.IntegerField(), 'description': entity_fields.StringField(), 'label': entity_fields.StringField(), 'last_published': entity_fields.StringField(),