summaryrefslogtreecommitdiff
path: root/django/forms/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/forms/widgets.py')
-rw-r--r--django/forms/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/widgets.py b/django/forms/widgets.py
index cb8fb5e92a..05667f8e44 100644
--- a/django/forms/widgets.py
+++ b/django/forms/widgets.py
@@ -90,7 +90,7 @@ class Media:
media = sorted(self._css)
return chain.from_iterable([
format_html(
- '<link href="{}" type="text/css" media="{}" rel="stylesheet">',
+ '<link href="{}" media="{}" rel="stylesheet">',
self.absolute_path(path), medium
) for path in self._css[medium]
] for medium in media)