Skip to content

Commit

Permalink
Fixed #1739 -- Fixed incorrect pluralization of model in admin
Browse files Browse the repository at this point in the history
Co-authored-by: Baptiste Mispelon <[email protected]>
  • Loading branch information
arpan8925 and bmispelon authored Nov 21, 2024
1 parent 8808acf commit 18898bc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions aggregator/migrations/0006_localdjangocommunity_plural.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 5.0.9 on 2024-11-21 06:52

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('aggregator', '0005_feeditem_add_index_date_modified'),
]

operations = [
migrations.AlterModelOptions(
name='localdjangocommunity',
options={'verbose_name_plural': 'Local Django Communities'},
),
]
1 change: 1 addition & 0 deletions aggregator/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ class LocalDjangoCommunity(models.Model):
created_at = models.DateTimeField(auto_now_add=True)

class Meta:
verbose_name_plural = _("Local Django Communities")
constraints = [
models.CheckConstraint(
check=(
Expand Down

0 comments on commit 18898bc

Please sign in to comment.