# Generated by Django 2.1.7 on 2019-02-15 13:28

from django.db import migrations, models

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


class Migration(migrations.Migration):

    dependencies = [("evaluation", "0022_auto_20190214_1515")]

    operations = [
        migrations.AlterField(
            model_name="method",
            name="image",
            field=models.FileField(
                blank=True,
                help_text=".tar.gz archive of the container image produced from the command 'docker save IMAGE | gzip -c > IMAGE.tar.gz'. See https://docs.docker.com/engine/reference/commandline/save/",
                storage=grandchallenge.core.storage.PrivateS3Storage(),
                upload_to=grandchallenge.components.models.docker_image_path,
                validators=[
                    grandchallenge.core.validators.ExtensionValidator(
                        allowed_extensions=(".tar", ".tar.gz")
                    )
                ],
            ),
        )
    ]
