Re: Static not working on unix while working on windows

2020-07-08 Thread Avi shah
Hi Ashish , You saw what I sent ? On Wed, Jul 8, 2020, 9:55 PM ashish goyal wrote: > Hi ajeet, yes done collectstatic > > Sent from my iPhone > > On 08-Jul-2020, at 20:31, Ajeet Kumar Gupt > wrote: > >  > You tried to first run collectststic > > On Mon, Jul 6, 2020, 10:20 PM ashish goyal > wr

Re: Static not working on unix while working on windows

2020-07-08 Thread ashish goyal
Hi ajeet, yes done collectstatic Sent from my iPhone > On 08-Jul-2020, at 20:31, Ajeet Kumar Gupt wrote: > >  > You tried to first run collectststic > >> On Mon, Jul 6, 2020, 10:20 PM ashish goyal wrote: >> Hi All, >> >> I have created a django app on windows and have used bootstrap navbar

Re: Static not working on unix while working on windows

2020-07-08 Thread Ajeet Kumar Gupt
You tried to first run collectststic On Mon, Jul 6, 2020, 10:20 PM ashish goyal wrote: > 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 al

Re: Static not working on unix while working on windows

2020-07-07 Thread ashish goyal
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 > O

Re: Static not working on unix while working on windows

2020-07-07 Thread Avi shah
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("t

Re: Static not working on unix while working on windows

2020-07-07 Thread Kevin Jay
You also need to close your quote. On Tue, Jul 7, 2020 at 11:54 AM Kevin Jay wrote: > I’ve had the same issue in the past. I fixed it by removing > *rel="stylesheet * > > > On Mon, Jul 6, 2020 at 1:20 PM ashish goyal > wrote: > >> Hi All, >> >> I have created a django app on windows and have us

Re: Static not working on unix while working on windows

2020-07-07 Thread Kevin Jay
I’ve had the same issue in the past. I fixed it by removing *rel="stylesheet * On Mon, Jul 6, 2020 at 1:20 PM ashish goyal wrote: > 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 impo

Re: Static not working on unix while working on windows

2020-07-07 Thread Exactly musty
Oh,have you run migration yet,if you haven't, you need to sometimes while hosting -- 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...@goog

Re: Static not working on unix while working on windows

2020-07-07 Thread ashish goyal
Hey musty, No those basic things are working already on windows. But not on linux. Once hosted css is not available, even after i did collectstatic in static folder but still css n js are not loading with static > To unsubscribe from this group and stop receiving emails from it, send an > ema

Re: Static not working on unix while working on windows

2020-07-06 Thread ashish goyal
I am using same but still css is not available when i am clicking on css file link from inspect. Is it because i have not configured nginx as i am just running app from runserver on unix machine. Was working fine on windows. No change Thanks Ashish > On 07-Jul-2020, at 00:11, Vishesh Mangla

RE: Static not working on unix while working on windows

2020-07-06 Thread Vishesh Mangla
Href = "" static appname/something.css %}” Sent from Mail for Windows 10 From: ashish goyalSent: 06 July 2020 23:50To: django-users@googlegroups.comSubject: Static not working on unix while working on windows Hi All, I have created a django app on windows and have used bootstrap navbar n other func