MIME type (text/html) is not supported as css

This error is almost always caused by a 404 being generated by the server. The 404 returns an html page instead of the css, causing this error.

To allow us to help you resolve this, please provide the following information:

  • Describe the directory structure for your project,
  • Tell us what directory that csscode.css file is in,
  • Show us the STATIC_URL and STATICFILES_DIRS settings from your settings.py file
  • Show us the line in your template where you’re trying to load that file

(And your English is just fine - don’t worry about it!)

1 Like