Skip to content

Commit

Permalink
add type param to ContentViewFilterRule
Browse files Browse the repository at this point in the history
  • Loading branch information
sean797 committed Aug 2, 2018
1 parent 13d5ade commit ba07e4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nailgun/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -1877,6 +1877,9 @@ def __init__(self, server_config=None, **kwargs):
'version': entity_fields.StringField(),
'uuid': entity_fields.StringField(),
'architecture': entity_fields.OneToOneField(Architecture),
'type': entity_fields.StringField(
choices=('all', 'greater', 'equal', 'less', 'range'),
),
}
super(ContentViewFilterRule, self).__init__(server_config, **kwargs)
self._meta = {
Expand Down

0 comments on commit ba07e4d

Please sign in to comment.