NDOJ/judge/migrations/0100_auto_20200127_0059.py

33 lines
929 B
Python
Raw Permalink Normal View History

2020-01-27 20:37:52 +00:00
# Generated by Django 2.2.9 on 2020-01-27 00:59
import django.core.validators
from django.db import migrations, models
import judge.models.problem_data
import judge.utils.problem_data
class Migration(migrations.Migration):
dependencies = [
2022-05-14 17:57:27 +00:00
("judge", "0099_custom_checker"),
2020-01-27 20:37:52 +00:00
]
operations = [
migrations.AlterField(
2022-05-14 17:57:27 +00:00
model_name="problemdata",
name="custom_checker",
field=models.FileField(
blank=True,
null=True,
storage=judge.utils.problem_data.ProblemDataStorage(),
upload_to=judge.models.problem_data.problem_directory_file,
validators=[
django.core.validators.FileExtensionValidator(
allowed_extensions=["py"]
)
],
verbose_name="custom checker file",
),
2020-01-27 20:37:52 +00:00
),
]