mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #14878 -- Clarified the way verbose_name_plural is used in generic list views as a context variable. Thanks to diegueus9 for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -5,6 +5,8 @@ class Artist(models.Model):
|
||||
|
||||
class Meta:
|
||||
ordering = ['name']
|
||||
verbose_name = 'professional artist'
|
||||
verbose_name_plural = 'professional artists'
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
|
||||
Reference in New Issue
Block a user