Static files loading issue on django aws /u/_Lucifer_007_ Python Education

Hi, I’m deploying my first website on AWS EC2 and it get deployed perfectly on both http and HTTPS but I’m facing issues with rendering the css, js and jinja. First I thought there might be the issue with static files but all the images in the static folder are rendering perfectly.

So the issue is only that my css and js file are not rendering. I tried sending the curl request to css file and I got 200 request ok response. Also my csrf_token is not getting initialised.

Any inputs can be a big help.

submitted by /u/_Lucifer_007_
[link] [comments]

​r/learnpython Hi, I’m deploying my first website on AWS EC2 and it get deployed perfectly on both http and HTTPS but I’m facing issues with rendering the css, js and jinja. First I thought there might be the issue with static files but all the images in the static folder are rendering perfectly. So the issue is only that my css and js file are not rendering. I tried sending the curl request to css file and I got 200 request ok response. Also my csrf_token is not getting initialised. Any inputs can be a big help. submitted by /u/_Lucifer_007_ [link] [comments] 

Hi, I’m deploying my first website on AWS EC2 and it get deployed perfectly on both http and HTTPS but I’m facing issues with rendering the css, js and jinja. First I thought there might be the issue with static files but all the images in the static folder are rendering perfectly.

So the issue is only that my css and js file are not rendering. I tried sending the curl request to css file and I got 200 request ok response. Also my csrf_token is not getting initialised.

Any inputs can be a big help.

submitted by /u/_Lucifer_007_
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *