Coverage for app/venv/lib/python3.14/site-packages/weblate/trans/migrations/0034_project_check_flags.py: 100%

5 statements  

« 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 

4 

5# Generated by Django 5.1.8 on 2025-04-11 13:31 

6 

7from django.db import migrations, models 

8 

9import weblate.trans.validators 

10 

11 

12class Migration(migrations.Migration): 

13 dependencies = [ 

14 ("trans", "0033_component_secondary_language_and_more"), 

15 ] 

16 

17 operations = [ 

18 migrations.AddField( 

19 model_name="project", 

20 name="check_flags", 

21 field=models.TextField( 

22 blank=True, 

23 default="", 

24 help_text="Additional comma-separated flags to influence Weblate behavior.", 

25 validators=[weblate.trans.validators.validate_check_flags], 

26 verbose_name="Translation flags", 

27 ), 

28 ), 

29 ]