mirror of
https://github.com/django/django.git
synced 2025-09-27 04:29:17 +00:00
Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags.
This commit is contained in:
parent
d8e2333528
commit
e703b93a65
24 changed files with 137 additions and 141 deletions
|
@ -2386,7 +2386,7 @@ class OtherModelFormTests(TestCase):
|
|||
self.assertHTMLEqual(
|
||||
str(f.media),
|
||||
'''<link href="/some/form/css" type="text/css" media="all" rel="stylesheet">
|
||||
<script type="text/javascript" src="/some/form/javascript"></script>'''
|
||||
<script src="/some/form/javascript"></script>'''
|
||||
)
|
||||
|
||||
def test_choices_type(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue