kopia lustrzana https://github.com/wagtail/wagtail
rodzic
8d21ad6e5a
commit
9baf6ce62a
|
@ -467,6 +467,7 @@ Contributors
|
|||
* Yngve Høiseth
|
||||
* Andrew Bunker
|
||||
* Nikolay Lukyanov (mozgsml)
|
||||
* Jean Zombie
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -27,7 +27,7 @@ Alternatively, ``hooks.register`` can be called as an ordinary function, passing
|
|||
|
||||
hooks.register('name_of_hook', my_hook_function)
|
||||
|
||||
If you need your hooks to run in a particular order, you can pass the ``order`` parameter:
|
||||
If you need your hooks to run in a particular order, you can pass the ``order`` parameter. If order is not specified then the hooks proceed in the order given by INSTALLED_APPS. Wagtail uses hooks internally, too, so you need to be aware of order when overriding built-in Wagtail functionality (i.e. removing default summary items):
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue