Django css is not reflected. I have checked for typos and cleared the cache, but to no avail. I have tried several solutions on the Internet, but th ...
Django css is not reflected. I have checked for typos and cleared the cache, but to no avail. I have tried several solutions on the Internet, but th ...
I am about to publish my first Django project on a Digital Ocean droplet. I was following the official Digital Ocean guide to install Django on a drop ...
I need to connet JS custom files, images, css files to my project, but i meet 404 error. REQ MY DIR enter image description here MY SETTINGS MY ...
I've just started learning django and have a problem loading images using loops. In models.py I created a class called Pictures In views.py I cr ...
I have tested my app in development and successfully got it fully functional in development running on my local server. I have now been trying to push ...
I have a simple html page that works and renders properly on my local browser, but when I reference the static css file the page loads without the sty ...
I'm trying to create a homepage for my app but my page keeps loading after adding the STATIC_ROOT and STATICFILES_DIR. it gives Broken pipe from ('127 ...
I am trying to deploy the django project to linux server but getting below error: Bad Request (400) settings.py output of collectstatic: ...
index.html settings.py (my app name is base) Folder structure is like this: CSS contains a simple color change and it is not working. I've t ...
I am in the middle of creating a django project and I have templates and static folders within the project directory. I can render and view the html f ...
I have recently put my website into production. I am using a company to host my projects on their servers and everything is working perfectly apart fr ...
I know this question has been asked before but I have tried to implement the answers to those forums but none have worked for me so far. Here is my h ...
main.html with {% load static %} at top and {% static 'css/main.css' %} in link css href setting.py also STATICFILES_DIRS bracket should be () ...
I have a base.html which my options.html extends from like this //options.html {% extends "webpage/base.html" %} {% load static %} <link rel="styl ...
I am able to view my site (html)in the browser but none of my mark-up is working. I have checked my stylesheet links for types, settings.py, but I am ...
I am trying serve static files in my local development (on same server I serve my site). I have run ./manage.py collectstatic with the following confi ...
My static files are not loading on Django. I'm running this on my local machine. The location of example.png is main/static/main/example.png. main is ...
Static files are not getting loaded when running on server. I have tried the whitenoise library and referred to the Documentation (http://whitenoise.e ...
I try to deploy my app to Railway.app. App generally works but static files are not found. I have made collectstatic folder using command django manag ...
I have followed the setup procedures here https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ub ...