I am beginner in Django I am trying to run my application on Debug=False mode to simulate the production environment, I have added all the static url, and roots
The problem is that static files from Django app are not being collected in pythonanywhere. After the command python manage.py collectstatic In the directory /
I've been trying to get my main.js file and css static files to load in my container and on google cloud for the past 4 days. Here is my file tree: main/ - fr
index.html I have changed {% static "/main/css/index.css" %} to {% static "main/css/index.css" %} {% extends 'main/base.html' %} {% load static %} <
CSS, JS, fonts, images and other assets are not being loaded into my django app index.html. All the assets for the app are present inside the application app in
I am trying to deploy a Django app to Azure App Services. It runs on the server now, but without the style.css. When I run it on localhost, everything shows cor
I have a site that needs some custom styles in Django and I can't get the static file to load. I have a static folder inside my main folder - The one where mana
I'm trying to load static files, but it's showing following error: GET http://127.0.0.1:8000/static/css/user/style.css net::ERR_ABORTED 404 (Not Found) - home:2
I have django project that has a staticfile with the structure staticfiles/bundles/static/js/main.[hash of 8 random characters].js I want to get the name of mai
output: 'static' in the STATICFILES_DIRS setting does not exist. I've tried os.path.join(BASE_DIR, '/static'), but it is doesn't work. I didn't have this probl
I created static directory which included css and image files in my Django project. When I run my project the css do display("GET /static/website/barber.css HTT
I have a django project where I have kept all the static files in a project level static directory. I have included STATIC_URL = "/static/" STATIC_ROOT = os.pat
I am learning Django and i tried to implement a blog app . i am getting an error while using the static files inside project.i know, There are lot of questions
Please help me out. I don't get any errors in my css file or in finding it, but still the style i would like is not shown. my css file body { background-color
I have index.html file in template file and I have js, css, image, files in my static file. I am writing the codes correctly, but the site does not appear prope
This is the error I am facing Not Found: /assets/vendor/venobox/venobox.css Not Found: /assets/vendor/boxicons/css/boxicons.min.css Not Found: /assets/vendor/ow
I have tried many things to solve this like adding whitenoise middleware, also added STATICFILES_DIRS = [], added mimetypes for css in settings.py file CSS/JS W
I cannot get an image to load in Django by following the documentation. I have the following directory structure: And here is a snippet of my code within backe
I'm doing a project with Django with the following structure: /project /cv /static /configuration configuration.json So a project w
My config is as follows: STATIC_URL = '/static/' MEDIA_URL = '/static/media/' And since I upgraded django 2.1 to 2.2 I get: "runserver can't serve media if