Coverage for app/venv/lib/python3.14/site-packages/weblate/accounts/migrations/0018_alter_profile_dashboard_view.py: 100%

4 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.2.4 on 2025-07-30 07:53 

6 

7from django.db import migrations, models 

8 

9 

10class Migration(migrations.Migration): 

11 dependencies = [ 

12 ("accounts", "0017_profile_contribute_personal_tm"), 

13 ] 

14 

15 operations = [ 

16 migrations.AlterField( 

17 model_name="profile", 

18 name="dashboard_view", 

19 field=models.IntegerField( 

20 choices=[ 

21 (1, "Watched translations"), 

22 (6, "All component lists"), 

23 (4, "Component list"), 

24 (5, "Suggested translations"), 

25 (7, "Managed projects"), 

26 ], 

27 default=1, 

28 verbose_name="Default dashboard view", 

29 ), 

30 ), 

31 ]