Coverage for app/venv/lib/python3.14/site-packages/weblate/trans/migrations/0011_alter_component_suggestion_autoaccept_and_more.py: 100%
5 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 07:15 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 07:15 +0000
1# Copyright © Michal Čihař <michal@weblate.org>
2#
3# SPDX-License-Identifier: GPL-3.0-or-later
5# Generated by Django 4.2.9 on 2024-01-30 14:57
7from django.db import migrations, models
9import weblate.trans.validators
12class Migration(migrations.Migration):
13 dependencies = [
14 ("trans", "0010_unit_trans_unit_pending"),
15 ]
17 operations = [
18 migrations.AlterField(
19 model_name="component",
20 name="suggestion_autoaccept",
21 field=models.PositiveSmallIntegerField(
22 default=0,
23 help_text="Automatically accept suggestions with this number of votes, use 0 to turn it off.",
24 validators=[weblate.trans.validators.validate_autoaccept],
25 verbose_name="Automatically accept suggestions",
26 ),
27 ),
28 migrations.AlterField(
29 model_name="workflowsetting",
30 name="suggestion_autoaccept",
31 field=models.PositiveSmallIntegerField(
32 default=0,
33 help_text="Automatically accept suggestions with this number of votes, use 0 to turn it off.",
34 validators=[weblate.trans.validators.validate_autoaccept],
35 verbose_name="Automatically accept suggestions",
36 ),
37 ),
38 ]