We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6771114 commit a3dd0eeCopy full SHA for a3dd0ee
simple_history/tests/tests/test_admin.py
@@ -281,7 +281,7 @@ def test_response_change(self):
281
with override_settings(SIMPLE_HISTORY_EDIT=True):
282
response = admin.response_change(request, poll)
283
284
- self.assertEqual(response.url, '/awesome/url/')
+ self.assertEqual(response['Location'], '/awesome/url/')
285
286
def test_response_change_change_history_setting_off(self):
287
"""
0 commit comments