Some code re-use in templates
As a side-effect the pre-accept and pre-accept are now first, rather
then mingled with the other buttons.
Patch by: Sverre Rabbelier
from django.dispatch import Signaltemplate_rendered = Signal(providing_args=["template", "context"])