Questions tagged [django-staticfiles]
A Django app that provides helpers for serving static files.
django-staticfiles
1,269
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 ...
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 ...
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-...
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=&...
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 ...
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 ...
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. ...
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 "...
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 ...
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 ...
-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() "/...
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 ...
0
votes
0
answers
25
views
ValueError: Missing staticfiles manifest entry for 'css/bootstrap.min.css'
I've tried almost all the solutions exist on stackoverflow and few other channels but I couldn't get this resolved. File already exists on path but it couldn't find it. Same behavior on the server ...
-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 ...
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 ...