Coverage for app/venv/lib/python3.14/site-packages/weblate/accounts/migrations/0003_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 4.2.6 on 2023-10-16 09:35 

6 

7from django.db import migrations, models 

8 

9 

10class Migration(migrations.Migration): 

11 dependencies = [ 

12 ("accounts", "0002_new_string_notification"), 

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 ("email", "email"), 

29 ("enabled", "enabled"), 

30 ("failed-auth", "failed-auth"), 

31 ("full_name", "full_name"), 

32 ("invited", "invited"), 

33 ("locked", "locked"), 

34 ("login", "login"), 

35 ("login-new", "login-new"), 

36 ("password", "password"), 

37 ("register", "register"), 

38 ("removal-request", "removal-request"), 

39 ("removed", "removed"), 

40 ("reset", "reset"), 

41 ("reset-request", "reset-request"), 

42 ("sent-email", "sent-email"), 

43 ("tos", "tos"), 

44 ("trial", "trial"), 

45 ("username", "username"), 

46 ], 

47 db_index=True, 

48 max_length=20, 

49 ), 

50 ), 

51 ]