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
Tim Gates 2022-09-11 07:15:45 +10:00 zatwierdzone przez LB (Ben Johnston)
rodzic 5dad39fb57
commit 519caf25e9
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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 {}

Wyświetl plik

@ -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())