Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

-1 votes
0 answers
36 views

Static files issue in Django while deploying to AWS EC2 Machine

I made a multi-tenant app using django and now want to deploy it to AWS. When I run the server on EC2 machine and go to django admin this is what I get: It works fine locally though. Also when I open ...
Rayan Ali's user avatar
1 vote
1 answer
20 views

Django templates and css: is there a workaround for getting my preload link tags to match my css relative paths to font sources?

Background I just started using Digital Oceans Spaces for storing my static files for my Django web app (connected using django-storages library). Previously, I used link elements in the head of my ...
DevinG's user avatar
  • 502
2 votes
1 answer
22 views

When using django-storages with a cloud storage service, is there a way to make the collectstatic management command run faster?

Issue I recently connected my Django app to Digital Ocean Spaces using the django-storages library, and suffice it to say I have a lot of static files (currently 2545 files, most of which are small-...
DevinG's user avatar
  • 502
0 votes
0 answers
21 views

Django problem with image in shared hosting: 404 or 500 [duplicate]

I have an image problem that displays locally but not on shared hosting. The site works well in hosting , the custom js and css files are ok. In my Django template, I have this image: <div class=&...
Zembla's user avatar
  • 351
1 vote
0 answers
41 views

Django - Uploaded images are not found in production [closed]

I have a problem uploading images in production in my Django project. I'm converting canvas to png and then I upload them in a hidden input, then I save them in the database in the views. In ...
Developer's user avatar
0 votes
0 answers
36 views

0 static files copied to 'C:\Users\Reynald\Desktop\Test\cdo_portal\staticfiles', 2365 unmodified

Hello everyone might someone here know how to fix this i just trying to run manage.py collectstatic but when i run the sytsem all of the design was a mess and when i check the collecstatic 0 static ...
Reynald Rodriguez's user avatar
0 votes
0 answers
34 views

Django Static Files Not Loading Correctly in Production with Apache

I've been struggling with serving static files in a Django application deployed on Apache. Despite following numerous guides and suggestions, I'm still encountering 404 errors for my static files. ...
Brapu Coin's user avatar
0 votes
1 answer
45 views

Django not loading CSS (static files)

I'm a beginner to Django trying to apply a CSS file (stored in base/static/css) to the base page of a web app. For some reason the file is not applying to the page, and I'm getting an output of "...
Sophie Frankel's user avatar
0 votes
1 answer
53 views

Django stopped updating static files

Django does not upload static files Hey guys, I am head to you because I have a problem I can’t fix. I am on localhost and Django does not apply modifications I have made on static files, although the ...
JoJoWasACode's user avatar
0 votes
0 answers
33 views

can't apply static file in django / docker

enter image description here what I have to next ? give me some advice .. it's github repository https://github.com/OZ-Coding-School/oz_02_collabo-006-BE/tree/Feature-docker i want to apply css and ...
아잉쿠's user avatar
-2 votes
1 answer
111 views

Django Static files Permission Issue on nginx

i want to deploy my Django project on linux vps but i have a problem and the problem is my nginx denies the permission for opening the static files i found this error in error.log file: open() "/...
Nikolat's user avatar
0 votes
1 answer
56 views

Django project not fetching static files

I am developing a small app for my course in Django. Now, I am trying to bring my project to a cloud system, in this case using Heroku, however it seems that I have an issue with fetching my static ...
Misael Lopez's user avatar
-1 votes
2 answers
62 views

AWS EC2 Server not serving some pages and static files propperly

I just Deployed a website on AWS EC2 from github clone. When i visit to Influencer Marketing & Career pages the server serving the static files from S3 Bucket correctly. But when i am visiting my ...
Rahul Verma's user avatar
1 vote
1 answer
50 views

how to import functions inside /static/ dir Django

When i make script for my django project i made a few functions but when i started optimising it and divide for few files i encounter a problem with the importing of function cart_methods.js export ...
Copy-Ninja's user avatar
0 votes
1 answer
59 views

Access to stye.css denied - Django Static files - Nginx - I can't make my project read staticfiles (style.css)

I don't know what it could be anymore, I've already given permissions to the files, directories, reviewed the nginx config, the files in sites-available/enabled , I've already cleared the cache ...
1sefirot1's user avatar

15 30 50 per page
1
2 3 4 5
83