Skip to content

Commit 18898bc

Browse files
arpan8925bmispelon
andauthored
Fixed #1739 -- Fixed incorrect pluralization of model in admin
Co-authored-by: Baptiste Mispelon <[email protected]>
1 parent 8808acf commit 18898bc

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by Django 5.0.9 on 2024-11-21 06:52
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('aggregator', '0005_feeditem_add_index_date_modified'),
10+
]
11+
12+
operations = [
13+
migrations.AlterModelOptions(
14+
name='localdjangocommunity',
15+
options={'verbose_name_plural': 'Local Django Communities'},
16+
),
17+
]

Diff for: aggregator/models.py

+1
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ class LocalDjangoCommunity(models.Model):
226226
created_at = models.DateTimeField(auto_now_add=True)
227227

228228
class Meta:
229+
verbose_name_plural = _("Local Django Communities")
229230
constraints = [
230231
models.CheckConstraint(
231232
check=(

0 commit comments

Comments
 (0)