diff --git a/backend/samfundet/migrations/0040_alter_recruitmentapplicant_options.py b/backend/samfundet/migrations/0040_alter_recruitmentapplicant_options.py new file mode 100644 index 000000000..2ce3ab781 --- /dev/null +++ b/backend/samfundet/migrations/0040_alter_recruitmentapplicant_options.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.5 on 2023-09-26 18:55 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('samfundet', '0039_alter_notification_options_and_more'), + ] + + operations = [ + migrations.AlterModelOptions( + name='recruitmentapplicant', + options={'verbose_name': 'Applicant', 'verbose_name_plural': 'Applicants'}, + ), + ] diff --git a/backend/samfundet/models/recruitment.py b/backend/samfundet/models/recruitment.py index b79b8a882..0ed0bf8b6 100644 --- a/backend/samfundet/models/recruitment.py +++ b/backend/samfundet/models/recruitment.py @@ -130,6 +130,9 @@ def email(self) -> str: def __str__(self) -> str: return self.name() + class Meta: + verbose_name = 'Applicant' + verbose_name_plural = 'Applicants' class RecruitmentAdmission(models.Model): admission_text = models.TextField(help_text='Admission text for the admission')