Lines Matching refs:platform
77 'is_platform', field='platform',
93 'is_platform': bool(self.instance.platform)})
116 self.instance.platform = input_dict['is_platform']
266 # TODO calling platform() over and over is inefficient
268 self.instance.platform())
273 'platform': platform_rep})
322 if 'platform' in input_dict:
323 label = self.resolve_link(input_dict['platform']) .instance
324 if not label.platform:
325 raise exceptions.BadRequest('Label %s is not a platform' % label.name)
326 for label in self.instance.labels.filter(platform=True):