Skip to content

Commit

Permalink
update verbose name plurals
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanglen committed May 20, 2024
1 parent c2cc367 commit 6456274
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lists/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class ListUpvote(models.Model):
)

class Meta:
verbose_name_plural = "ListUpvotes"
verbose_name_plural = "List Upvotes"

unique_together = (("list", "account"),)

Expand Down
11 changes: 7 additions & 4 deletions pots/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ class PotFactory(models.Model):
help_text=_("Require whitelist."),
)

class Meta:
verbose_name_plural = "Pot Factories"


class Pot(models.Model):
id = models.OneToOneField(
Expand Down Expand Up @@ -333,7 +336,7 @@ class PotApplication(models.Model):
)

class Meta:
verbose_name_plural = "PotApplications"
verbose_name_plural = "Pot Applications"

unique_together = (("pot", "applicant"),)

Expand Down Expand Up @@ -384,7 +387,7 @@ class PotApplicationReview(models.Model):
)

class Meta:
verbose_name_plural = "PotApplicationReviews"
verbose_name_plural = "Pot Application Reviews"

unique_together = (("application", "reviewer", "reviewed_at"),)

Expand Down Expand Up @@ -479,7 +482,7 @@ class PotPayoutChallenge(models.Model):
)

class Meta:
verbose_name_plural = "PayoutChallenges"
verbose_name_plural = "Payout Challenges"

unique_together = (("challenger", "pot"),)

Expand Down Expand Up @@ -537,6 +540,6 @@ class PotPayoutChallengeAdminResponse(models.Model):
)

class Meta:
verbose_name_plural = "PotPayoutChallengeResponses"
verbose_name_plural = "Payout Challenge Responses"

unique_together = (("challenger", "pot", "created_at"),)

0 comments on commit 6456274

Please sign in to comment.