django/django — pull request #2847 by xrmx (2014-06-24 14:35:02+00:00)
Title: admin: make add related behaviour customizable

Decouple behaviour and style from the RelatedFieldWidgetWrapper
widget so it's easier to customize.
This makes life easier for people that want to say use a modal
or just style it differently.

While at it in change_form.html start consolidating document ready
event listeners in one place.