NDOJ/judge/migrations/0087_problem_resource_limits.py
2022-05-14 12:57:27 -05:00

34 lines
1.1 KiB
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-06-09 14:44
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("judge", "0086_rating_ceiling"),
]
operations = [
migrations.AlterField(
model_name="problem",
name="memory_limit",
field=models.PositiveIntegerField(
help_text="The memory limit for this problem, in kilobytes (e.g. 64mb = 65536 kilobytes).",
verbose_name="memory limit",
),
),
migrations.AlterField(
model_name="problem",
name="time_limit",
field=models.FloatField(
help_text="The time limit for this problem, in seconds. Fractional seconds (e.g. 1.5) are supported.",
validators=[
django.core.validators.MinValueValidator(0),
django.core.validators.MaxValueValidator(2000),
],
verbose_name="time limit",
),
),
]