Coverage for app/venv/lib/python3.14/site-packages/weblate/accounts/migrations/0008_alter_auditlog_activity.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.0.3 on 2024-04-09 11:37 

6 

7from django.db import migrations, models 

8 

9 

10class Migration(migrations.Migration): 

11 dependencies = [ 

12 ("accounts", "0007_alter_profile_codesite_alter_profile_fediverse_and_more"), 

13 ] 

14 

15 operations = [ 

16 migrations.AlterField( 

17 model_name="auditlog", 

18 name="activity", 

19 field=models.CharField( 

20 choices=[ 

21 ("accepted", "accepted"), 

22 ("auth-connect", "auth-connect"), 

23 ("auth-disconnect", "auth-disconnect"), 

24 ("autocreated", "autocreated"), 

25 ("blocked", "blocked"), 

26 ("connect", "connect"), 

27 ("disabled", "disabled"), 

28 ("donate", "donate"), 

29 ("email", "email"), 

30 ("enabled", "enabled"), 

31 ("failed-auth", "failed-auth"), 

32 ("full_name", "full_name"), 

33 ("invited", "invited"), 

34 ("locked", "locked"), 

35 ("login", "login"), 

36 ("login-new", "login-new"), 

37 ("password", "password"), 

38 ("register", "register"), 

39 ("removal-request", "removal-request"), 

40 ("removed", "removed"), 

41 ("reset", "reset"), 

42 ("reset-request", "reset-request"), 

43 ("sent-email", "sent-email"), 

44 ("team-add", "team-add"), 

45 ("team-remove", "team-remove"), 

46 ("tos", "tos"), 

47 ("trial", "trial"), 

48 ("username", "username"), 

49 ], 

50 db_index=True, 

51 max_length=20, 

52 ), 

53 ), 

54 ]