mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-13 01:33:16 +00:00
11 lines
325 B
Python
11 lines
325 B
Python
# The 'hooks' module is now part of wagtailcore.
|
|
# Imports are provided here for backwards compatibility
|
|
|
|
import warnings
|
|
|
|
warnings.warn(
|
|
"The wagtail.wagtailadmin.hooks module has been moved. "
|
|
"Use wagtail.wagtailcore.hooks instead.", DeprecationWarning)
|
|
|
|
|
|
from wagtail.wagtailcore.hooks import register, get_hooks
|