mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #25115 -- Made admindocs view bookmarklet reverse the URL rather than hardcode it.
This commit is contained in:
committed by
Tim Graham
parent
23529fb195
commit
915ef79b08
@@ -74,7 +74,7 @@ class AdminDocViewTests(TestDataMixin, AdminDocsTestCase):
|
||||
|
||||
def test_bookmarklets(self):
|
||||
response = self.client.get(reverse('django-admindocs-bookmarklets'))
|
||||
self.assertContains(response, 'http://testserver/admin/doc/views/')
|
||||
self.assertContains(response, '/admindocs/views/')
|
||||
|
||||
def test_templatetag_index(self):
|
||||
response = self.client.get(reverse('django-admindocs-tags'))
|
||||
|
||||
Reference in New Issue
Block a user