Skip to content

Commit

Permalink
feat: ✨ add Meta for Reference model
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfskaempf committed Apr 3, 2024
1 parent 3be8e56 commit 0109d19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions percvre/vitae/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ class Reference(models.Model):
name = models.CharField(max_length=128)
link = models.URLField()

class Meta:
verbose_name = _("Reference")
verbose_name_plural = _("References")

def __str__(self: Self) -> str:
return self.name


class Trivia(models.Model):
"""Represent a piece of trivia."""
Expand Down

0 comments on commit 0109d19

Please sign in to comment.