diff --git a/__version__ b/__version__ index f477849..373f8c6 100644 --- a/__version__ +++ b/__version__ @@ -1 +1 @@ -0.2.2 \ No newline at end of file +0.2.3 \ No newline at end of file diff --git a/firmware_uploads/models.py b/firmware_uploads/models.py index 7459f61..b68c1a5 100644 --- a/firmware_uploads/models.py +++ b/firmware_uploads/models.py @@ -47,7 +47,7 @@ def higher_version_than(self, semver: semantic_version.Version): class FirmwareUpload(models.Model): - product = models.ForeignKey(Product, on_delete=models.CASCADE, default=1) + product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True) major_version = models.IntegerField() minor_version = models.IntegerField()