浏览代码

Fixed #32041 -- Doc'd how to modify served files' content types on Windows.

Peter Marheine 4 年之前
父节点
当前提交
f87b0ecd37
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      docs/ref/contrib/staticfiles.txt

+ 4 - 3
docs/ref/contrib/staticfiles.txt

@@ -436,9 +436,10 @@ This view function serves static files in development.
     :py:mod:`mimetypes` module from the Python standard library, which itself
     relies on the underlying platform's map files. If you find that this view
     doesn't return proper content types for certain files, it is most likely
-    that the platform's map files need to be updated. This can be achieved, for
-    example, by installing or updating the ``mailcap`` package on a Red Hat
-    distribution, or ``mime-support`` on a Debian distribution.
+    that the platform's map files are incorrect or need to be updated. This can
+    be achieved, for example, by installing or updating the ``mailcap`` package
+    on a Red Hat distribution, ``mime-support`` on a Debian distribution, or by
+    editing the keys under ``HKEY_CLASSES_ROOT`` in the Windows registry.
 
 This view is automatically enabled by :djadmin:`runserver` (with a
 :setting:`DEBUG` setting set to ``True``). To use the view with a different