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 86589b6 commit 9317c48Copy full SHA for 9317c48
simple_history/tests/tests/test_admin.py
@@ -429,7 +429,7 @@ def test_history_form_view_getting_history(self):
429
'original_opts': ANY,
430
'changelist_url': '/admin/tests/poll/',
431
'change_url': ANY,
432
- 'history_url': '/admin/tests/poll/{}/history/'.format(poll.pk),
+ 'history_url': '/admin/tests/poll/{pk}/history/'.format(pk=poll.pk),
433
'add': False,
434
'change': True,
435
'has_add_permission': admin.has_add_permission(request),
0 commit comments