Widgets Reference

class django_addanother.widgets.AddAnotherWidgetWrapper(widget, add_related_url, add_icon=None)[source]

Widget wrapper that adds an add-another button next to the original widget.

class django_addanother.widgets.EditSelectedWidgetWrapper(widget, edit_related_url, edit_icon=None)[source]

Widget wrapper that adds an edit-related button next to the original widget.

class django_addanother.widgets.AddAnotherEditSelectedWidgetWrapper(widget, add_related_url, edit_related_url, add_icon=None, edit_icon=None)[source]

Widget wrapper that adds both add-another and edit-related button next to the original widget.