Skip to content

Commit

Permalink
add migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
magsyg committed Sep 26, 2023
1 parent b1f6fb6 commit 854590f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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'},
),
]
3 changes: 3 additions & 0 deletions backend/samfundet/models/recruitment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 854590f

Please sign in to comment.