quantum-serverless/gateway/api/migrations/0005_alter_program_artifact.py

27 lines
683 B
Python

# Generated by Django 4.2.1 on 2023-05-23 18:18
import api.models
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("api", "0004_alter_computeresource_owner"),
]
operations = [
migrations.AlterField(
model_name="program",
name="artifact",
field=models.FileField(
upload_to=api.models.get_upload_path,
validators=[
django.core.validators.FileExtensionValidator(
allowed_extensions=["tar"]
)
],
),
),
]