Re: Django Static Files Not Loading After EC2 Deployment with Nginx

2024-09-01 Thread Jayesh Bafna
Look into whitenoise if you want to serve it from ec2 / Django-storages if from s3+ CloudFront directly. If you're using docker you might need to mount the staticfiles path on the container. On Thu, 29 Aug 2024, 22:05 Kiran Barai, wrote: > Hello everyone, > > >1. I’m having trouble with my

Re: Django Static Files Not Loading After EC2 Deployment with Nginx

2024-08-29 Thread Abdul Qoyyuum Haji Abdul Kadir (Agent Q)
Did you set up your STATIC_ROOT and do collectstatic? How to manage static files (e.g. images, JavaScript, CSS) | Django documentation | Django (djangoproject.com) On Friday 30 August 2024 at 04:06:41 UTC+8 Kiran Barai wrot

Django Static Files Not Loading After EC2 Deployment with Nginx

2024-08-29 Thread Kiran Barai
Hello everyone, 1. I’m having trouble with my Django project after deploying it on an EC2 instance. The issue is that my static files (CSS, JavaScript) are not loading correctly. 2. second issues in URL: - issue with a Django project where the URL generated using the {% url %