mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-28 10:34:53 +00:00
parent
96ec1e0e4e
commit
c9be245b0f
1 changed files with 2 additions and 2 deletions
|
|
@ -255,8 +255,8 @@ when your model extends ``wagtailcore.models.Page``, otherwise
|
|||
``modeladmin.helpers.url.AdminURLHelper`` is used.
|
||||
|
||||
If you find that the above helper classes don't work for your needs, you can
|
||||
easily create your own helper class, by sub-classing ``AdminURLHelper`` or
|
||||
``PageAdminURLHelper`` (if your model extend's Wagtail's ``Page`` model), and
|
||||
easily create your own helper class by sub-classing ``AdminURLHelper`` or
|
||||
``PageAdminURLHelper`` (if your model extends Wagtail's ``Page`` model), and
|
||||
making any necessary additions/overrides.
|
||||
|
||||
Once your class is defined, set the ``url_helper_class`` attribute on
|
||||
|
|
|
|||
Loading…
Reference in a new issue