diff --git a/website/migrations/0179_alter_issue_label.py b/website/migrations/0179_alter_issue_label.py new file mode 100644 index 000000000..9f0daf007 --- /dev/null +++ b/website/migrations/0179_alter_issue_label.py @@ -0,0 +1,30 @@ +# Generated by Django 5.1.4 on 2025-01-04 18:06 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("website", "0178_alter_ip_agent"), + ] + + operations = [ + migrations.AlterField( + model_name="issue", + name="label", + field=models.PositiveSmallIntegerField( + choices=[ + (0, "General"), + (1, "Number Error"), + (2, "Functional"), + (3, "Performance"), + (4, "Security"), + (5, "Typo"), + (6, "Design"), + (7, "Server Down"), + (8, "Trademark Squatting"), + ], + default=0, + ), + ), + ] diff --git a/website/models.py b/website/models.py index a9029ae03..d275ff526 100644 --- a/website/models.py +++ b/website/models.py @@ -330,6 +330,7 @@ class Issue(models.Model): (5, "Typo"), (6, "Design"), (7, "Server Down"), + (8, "Trademark Squatting"), ) user = models.ForeignKey(User, null=True, blank=True, on_delete=models.CASCADE) team_members = models.ManyToManyField(User, related_name="reportmembers", blank=True) diff --git a/website/templates/report.html b/website/templates/report.html index ce950a09f..6403b0879 100644 --- a/website/templates/report.html +++ b/website/templates/report.html @@ -196,6 +196,7 @@