Ok avi (Import mimetypes) and kevin (Remove stylesheet - hope this works on redhat) will follow both changes and come back.
Since database is same When i was developing on windows and when i migrate to linux redhat then no migration needs to be apply when i did migrate. Sent from my iPhone > On 08-Jul-2020, at 00:54, Avi shah <geta...@gmail.com> wrote: > > > > 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. -- 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/82988F95-C659-4AFB-9584-148B17FA5830%40gmail.com.