MCPcopy
hub / github.com/django/django / response_post_save_change

Method response_post_save_change

django/contrib/admin/options.py:1797–1802  ·  view source on GitHub ↗

Figure out where to redirect after the 'Save' button has been pressed when editing an existing object.

(self, request, obj)

Source from the content-addressed store, hash-verified

1795 return self._response_post_save(request, obj)
1796
1797 def response_post_save_change(self, request, obj):
1798 """
1799 Figure out where to redirect after the 'Save' button has been pressed
1800 when editing an existing object.
1801 """
1802 return self._response_post_save(request, obj)
1803
1804 def response_action(
1805 self, request, queryset, action_location=ActionLocation.CHANGE_LIST

Callers 1

response_changeMethod · 0.95

Calls 1

_response_post_saveMethod · 0.95

Tested by

no test coverage detected