mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed #13165 -- Added edit and delete links to admin foreign key widgets.
Thanks to Collin Anderson for the review and suggestions and Tim for the final review.
This commit is contained in:
parent
48ad288679
commit
07988744b3
17 changed files with 427 additions and 70 deletions
|
@ -50,7 +50,7 @@ class AdminCustomUrlsTest(TestCase):
|
|||
}
|
||||
response = self.client.post('/admin/admin_custom_urls/action/!add/', post_data)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, 'dismissAddAnotherPopup')
|
||||
self.assertContains(response, 'dismissAddRelatedObjectPopup')
|
||||
self.assertContains(response, 'Action added through a popup')
|
||||
|
||||
def test_admin_URLs_no_clash(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue