Lines Matching refs:board
28 versions = dict([(v.board, v.version)
38 def get(board=DEFAULT, android=False): argument
52 if board == DEFAULT and android:
55 return models.StableVersion.objects.get(board=board).version
57 if board == DEFAULT:
62 'ANDROID', 'stable_version_%s' % board, default=None)
64 return get(board=DEFAULT)
67 def set(version, board=DEFAULT): argument
74 stable_version = models.StableVersion.objects.get(board=board)
78 models.StableVersion.objects.create(board=board, version=version)
80 metadata={'board': board, 'version': version})
83 def delete(board): argument
88 stable_version = models.StableVersion.objects.get(board=board)
91 metadata={'board': board, 'version': get()})