wagtail/wagtail/wagtailadmin/hooks.py
2014-07-03 10:25:26 +01:00

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