add api_secret auth and (mostly) finalize firmware endpoint
This commit is contained in:
parent
9e9e41fb3f
commit
aa2df8d3c5
6 changed files with 123 additions and 4 deletions
|
@ -155,7 +155,7 @@ class FirmwareBuild(models.Model):
|
|||
variant = models.CharField(_('variant name'), max_length=64)
|
||||
chip = models.SmallIntegerField(_('chip'), db_index=True, choices=CHIPS)
|
||||
sha256_hash = models.CharField(_('SHA256 hash'), unique=True, max_length=64)
|
||||
project_description = models.JSONField
|
||||
project_description = models.JSONField(verbose_name=_('project_description.json'))
|
||||
binary = models.FileField(_('firmware file'), null=True, upload_to=firmware_upload_path)
|
||||
|
||||
class Meta:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue