mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-12 02:50:59 +00:00
New-style format needs numerical placeholders
This commit is contained in:
parent
ccfde52b08
commit
d562659fff
1 changed files with 1 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ class Page(MP_Node, ClusterableModel, Indexed):
|
|||
if model:
|
||||
res.append(model)
|
||||
else:
|
||||
raise NameError(_("name '%s' (used in subpage_types list) is not defined.").format(page_type))
|
||||
raise NameError(_("name '{0}' (used in subpage_types list) is not defined.").format(page_type))
|
||||
|
||||
else:
|
||||
# assume it's already a model class
|
||||
|
|
|
|||
Loading…
Reference in a new issue