kopia lustrzana https://github.com/wagtail/wagtail
verbose_name should be lowercase
rodzic
16020af213
commit
c224002d3e
|
@ -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.
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue