Href = "" static appname/something.css %}” Sent from Mail for Windows 10 From: ashish goyal 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/2A992212-ECB5-4FBA-BE2A-6775FE777304%40hxcore.ol. |
- Static not working on unix while working on windows ashish goyal
- RE: Static not working on unix while working on wind... Vishesh Mangla
- Re: Static not working on unix while working on ... ashish goyal
- Static not working on unix while working on windows Exactly musty
- Re: Static not working on unix while working on ... ashish goyal
- Re: Static not working on unix while working... Exactly musty
- Re: Static not working on unix while working on wind... Kevin Jay
- Re: Static not working on unix while working on wind... Avi shah
- Re: Static not working on unix while working on ... ashish goyal
- Re: Static not working on unix while working on wind... Ajeet Kumar Gupt
- Re: Static not working on unix while working on ... ashish goyal