NDOJ/judge/migrations/0177_test_formatter.py

36 lines
965 B
Python
Raw Permalink Normal View History

2024-01-08 18:27:20 +00:00
from django.db import migrations, models
import judge.models.test_formatter
class Migration(migrations.Migration):
dependencies = [
2024-01-08 18:36:25 +00:00
("judge", "0176_comment_revision_count"),
2024-01-08 18:27:20 +00:00
]
operations = [
migrations.CreateModel(
name="TestFormatterModel",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"file",
models.FileField(
blank=True,
null=True,
upload_to=judge.models.test_formatter.test_formatter_path,
verbose_name="testcase file",
),
),
],
)
]