95 lines
3.2 KiB
Python
95 lines
3.2 KiB
Python
# Generated by Django 5.2.19 on 2026-11-24 13:23
|
|
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("hosting", "0080_invitation_mail_settings"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="hostingplan",
|
|
name="php_memory_limit_mib",
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
help_text="Leave blank to use the web node default.",
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(0),
|
|
django.core.validators.MaxValueValidator(4096),
|
|
],
|
|
verbose_name="PHP memory limit (MiB)",
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="hostingplan",
|
|
name="php_request_timeout_seconds",
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
help_text="Leave blank to use the web node default.",
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(0),
|
|
django.core.validators.MaxValueValidator(600),
|
|
],
|
|
verbose_name="PHP request timeout (seconds)",
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="hostingplan",
|
|
name="php_upload_limit_mib",
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
help_text="Leave blank to use the web node default.",
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(0),
|
|
django.core.validators.MaxValueValidator(512),
|
|
],
|
|
verbose_name="PHP upload limit (MiB)",
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="hostingplan",
|
|
name="website_job_limit",
|
|
field=models.PositiveSmallIntegerField(
|
|
blank=True,
|
|
default=0,
|
|
help_text=(
|
|
"Maximum saved jobs per account. "
|
|
"Enter 0 to disable scheduling."
|
|
),
|
|
null=True,
|
|
validators=[django.core.validators.MaxValueValidator(50)],
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="hostingplan",
|
|
name="website_limit",
|
|
field=models.PositiveSmallIntegerField(
|
|
blank=True,
|
|
default=1,
|
|
help_text=(
|
|
"Maximum independent websites, including the primary site."
|
|
),
|
|
null=True,
|
|
validators=[django.core.validators.MinValueValidator(1)],
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="reseller",
|
|
name="account_limit",
|
|
field=models.PositiveIntegerField(
|
|
blank=True, default=0, null=True
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="resellerprofile",
|
|
name="account_limit",
|
|
field=models.PositiveIntegerField(blank=True, null=True),
|
|
),
|
|
]
|