image_sha256 = models.CharField(max_length=64)
version = models.PositiveIntegerField(default=0)
class Meta:
unique_together = (("challenge", "version"),)
After Change
on_delete=models.SET_NULL)
container = models.FileField(upload_to=method_container_path,
validators=[MimeTypeValidator(
allowed_types=(
"application/x-tarbinary",))],
help_text="Tar archive of the container "
"image produced from the command "
"`docker save IMAGE > "