verbose_name should be lowercase

pull/1728/head
Karl Hobley 2015-09-23 09:52:26 +01:00
rodzic 16020af213
commit c224002d3e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -74,7 +74,7 @@ Make your model names more friendly to users of Wagtail using Django's internal
...
class Meta:
verbose_name = "Homepage"
verbose_name = "homepage"
When users are given a choice of pages to create, the list of page types is generated by splitting your model names on each of their capital letters. Thus a ``HomePage`` model would be named "Home Page" which is a little clumsy. ``verbose_name`` as in the example above, would change this to read "Homepage" which is slightly more conventional.