My project in Django GitHub - alex-martins2305/ToDo4 works very fine in production, bootstrap, css, everything loads perfect. But in deploy to render.com the css file dont load.
I already checked:
In github the files are avaliable in static/css/styles.css;
run collectstatic;
cleaned browser data;
tryed in mozzila and chrome (desktop and mobile);
In chrome i can see in inspection/network the reason to not apply the style file: Refused to apply style from ‘’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
You’re maybe encountering an error because the MIME type of the CSS file is incorrect. It should be set as text/css. Try to edit the settings.py file to include: