# Generated by Django 2.0.6 on 2018-06-06 13:37

from django.db import migrations, models

import grandchallenge.components.models
import grandchallenge.core.models
import grandchallenge.core.validators


class Migration(migrations.Migration):

    dependencies = [("evaluation", "0004_config_display_submission_comments")]

    operations = [
        migrations.AlterField(
            model_name="method",
            name="image",
            field=models.FileField(
                help_text="Tar archive of the container image produced from the command `docker save IMAGE > IMAGE.tar`. See https://docs.docker.com/engine/reference/commandline/save/",
                upload_to=grandchallenge.components.models.docker_image_path,
                validators=[
                    grandchallenge.core.validators.ExtensionValidator(
                        allowed_extensions=(".tar",)
                    )
                ],
            ),
        ),
        migrations.AlterField(
            model_name="method",
            name="ready",
            field=models.BooleanField(
                default=False,
                editable=False,
                help_text="Is this image ready to be used?",
            ),
        ),
    ]
