2020-01-21 06:35:58 +00:00
|
|
|
# -*- 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 = [
|
2022-05-14 17:57:27 +00:00
|
|
|
("judge", "0086_rating_ceiling"),
|
2020-01-21 06:35:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2022-05-14 17:57:27 +00:00
|
|
|
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",
|
|
|
|
),
|
2020-01-21 06:35:58 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2022-05-14 17:57:27 +00:00
|
|
|
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",
|
|
|
|
),
|
2020-01-21 06:35:58 +00:00
|
|
|
),
|
|
|
|
]
|