Here we go:
https://bitbucket.org/stephenmcd/mezzanine/pull-request/62/
Create and send pre_page_move and post_page_move signals.
Any value returned by any receiver of the pre_page_move signal will abort
the move. The value is considered an error message, and will be displayed.
The first value received aborts further processing.
Needs to be documented.
Receivers can subscribe to moves of specific content types using the
senderargument.
Example:
from mezzanine.pages.signals import pre_page_move
@receiver(pre_page_move, sender=MyPage)def my_move_constraints(sender, page,
new_parent, **kwargs):
...
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.