File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -97,3 +97,16 @@ settings module::
97
97
You can change the logic of determining whether or not the Debug Toolbar
98
98
should be shown with the :ref: `SHOW_TOOLBAR_CALLBACK <SHOW_TOOLBAR_CALLBACK >`
99
99
option. This option allows you to specify a custom function for this purpose.
100
+
101
+ Troubleshooting
102
+ ---------------
103
+
104
+ On some platforms, the Django ``runserver `` command may use incorrect content
105
+ types for static assets. To guess content types, Django relies on the
106
+ :mod: `mimetypes ` module from the Python standard library, which itself relies
107
+ on the underlying platform's map files. If you find improper content types for
108
+ certain files, it is most likely that the platform's map files are incorrect or
109
+ need to be updated. This can be achieved, for example, by installing or
110
+ updating the ``mailcap `` package on a Red Hat distribution, ``mime-support `` on
111
+ a Debian distribution, or by editing the keys under ``HKEY_CLASSES_ROOT `` in
112
+ the Windows registry.
You can’t perform that action at this time.
0 commit comments