Hi All,

I have created a django app on windows and have used bootstrap navbar n other 
functions which are working good on windows.

Same files I have imported on unix server then i am able to get all details but 
getting issue with css and js files saying below error

Refused to apply style from <URL> because its MIME type ('text/html') is not a 
supported stylesheet MIME type, and strict MIME checking is enabled angular

I am using below script in windows which is working in windows but not on unix

{ % load static %}
<link rel="stylesheet" type="text/css" href="{ % static 
‘main/css/bootstrap.min.css %}” />

Any suggestions, static and static url js defined i. Settings.py already. Since 
all working fine on windows dont know same code is not working for css and js 
while data is fetching correctly

Thanks
Ashish

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/D45C33B1-949B-4BBE-8338-8982F2A246BF%40gmail.com.

Reply via email to