diff options
| author | Nick Sandford <nick@sandford.id.au> | 2014-07-25 13:07:04 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-31 08:07:28 -0400 |
| commit | 9d9f0acd7e245c9f9c30727a003666618754c924 (patch) | |
| tree | 719c97995bfa06038e3e72efbb0c106f3e73861d /tests/generic_inline_admin | |
| parent | 9a922dcad1e50afc91329009e8689e5c08c2a1bf (diff) | |
Fixed #13163 -- Added ability to show change links on inline objects in admin.
Thanks DrMeers for the suggestion.
Diffstat (limited to 'tests/generic_inline_admin')
| -rw-r--r-- | tests/generic_inline_admin/tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/generic_inline_admin/tests.py b/tests/generic_inline_admin/tests.py index 99459b9257..dafd5d3334 100644 --- a/tests/generic_inline_admin/tests.py +++ b/tests/generic_inline_admin/tests.py @@ -256,8 +256,7 @@ class GenericInlineAdminWithUniqueTogetherTest(TestCase): class NoInlineDeletionTest(TestCase): def test_no_deletion(self): - fake_site = object() - inline = MediaPermanentInline(EpisodePermanent, fake_site) + inline = MediaPermanentInline(EpisodePermanent, admin_site) fake_request = object() formset = inline.get_formset(fake_request) self.assertFalse(formset.can_delete) |
