Hi Ashish , I had the same error while deploying my django on iis windows server just copy paste the below code into your settings.py and you will have no issues And i have done for js , you can do it for css too
import mimetypes mimetypes.add_type("text/plain", ".js", True) mimetypes.add_type("text/javascript", ".js", True) And let me know if theres any error in django Thanks & Regards , Avi Shah (9167199744) > > > -- 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/CALa7AFNqNh-j9ABe1vmy-QWdR4AhGiWAJCxzmj6t250bqvRALg%40mail.gmail.com.