kopia lustrzana https://github.com/wagtail/wagtail
docs: Fix a few typos
There are small typos in: - wagtail/contrib/modeladmin/options.py - wagtail/models/__init__.py Fixes: - Should read `supplied` rather than `suppled`. - Should read `maintaining` rather than `maintining`. Signed-off-by: Tim Gates <tim.gates@iress.com>pull/9172/head
rodzic
5dad39fb57
commit
519caf25e9
|
@ -337,7 +337,7 @@ class ModelAdmin(WagtailRegisterable):
|
|||
def get_extra_attrs_for_row(self, obj, context):
|
||||
"""
|
||||
Return a dictionary of HTML attributes to be added to the `<tr>`
|
||||
element for the suppled `obj` when rendering the results table in
|
||||
element for the supplied `obj` when rendering the results table in
|
||||
`index_view`. `data-object-pk` is already added by default.
|
||||
"""
|
||||
return {}
|
||||
|
|
|
@ -2436,7 +2436,7 @@ class Page(AbstractPage, index.Indexed, ClusterableModel, metaclass=PageBase):
|
|||
obj.depth = self.depth
|
||||
obj.numchild = self.numchild
|
||||
|
||||
# Update url_path to reflect potential slug changes, but maintining the page's
|
||||
# Update url_path to reflect potential slug changes, but maintaining the page's
|
||||
# existing tree position
|
||||
obj.set_url_path(self.get_parent())
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue