RE: Static files not found

2022-02-13 Thread Feroz Ahmed
@googlegroups.com Subject: Re: Static files not found U need to provide ur static Files dir Using os.path.join(BASR_DIR, "staticfiles") Also if u storing ur static file to cloud or any other host present ur STATICFILES_STORAGE="https://domain.com/location/folder"; On Sun,

Re: Static files not found

2022-02-13 Thread Dev femibadmus
U need to provide ur static Files dir Using os.path.join(BASR_DIR, "staticfiles") Also if u storing ur static file to cloud or any other host present ur STATICFILES_STORAGE="https://domain.com/location/folder"; On Sun, Feb 13, 2022, 18:47 Serge Alard wrote: > To Ogunsanya Opeyemi : my Django

Re: Static files not found

2022-02-13 Thread Serge Alard
To Ogunsanya Opeyemi : my Django app folder is bridge, thus it's OK To dashlaksh...@gmail.com : I tried but the static files are not found To mminu...@gmail.com : STATICFILES_DIRS = [BASE_DIR/""] is not necessary because it's given already in static_root. Thank you everybody but it does not work

Re: Static files not found

2022-02-03 Thread Muhammad Muhammad inuwa
At the bottom of your code, you need to include the STATICFILES_DIRS = [BASE_DIR/""]. This tells django where your static files are On Thu, Feb 3, 2022, 18:49 Opeyemi Ogunsanya wrote: > Move the static folder to the Django app folder > > On Thu, Feb 3, 2022, 6:01 PM Serge Alard wrote: > >> Than

Re: Static files not found

2022-02-03 Thread Lakshyaraj Dash X-D 25
Ok! Actually I had not looked properly to your file. The line that I had given was already in STATIC_ROOT. If you have debug=False, then you can run something like this : python manage.py runserver --insecure It will serve your static files while the debug mode is set to false. On Thu, Feb 3, 202

Re: Static files not found

2022-02-03 Thread Opeyemi Ogunsanya
Move the static folder to the Django app folder On Thu, Feb 3, 2022, 6:01 PM Serge Alard wrote: > Thank you for the suggestion but it does not work. > I add 2 things to make easier your helps : > >- the settings and wsgi files are in /www/Web_bridge/ Web_bridge/ >- the static files are i

Re: Static files not found

2022-02-03 Thread Serge Alard
Thank you for the suggestion but it does not work. I add 2 things to make easier your helps : - the settings and wsgi files are in /www/Web_bridge/ Web_bridge/ - the static files are in /www/Web_bridge/static/bridge/ Below an example of connexion.html that calls a static file : {% extends

Re: Static files not found

2022-02-03 Thread Lakshyaraj Dash X-D 25
Please add this line below static_url STATICFILES_DIRS = [ 'static' ] On Thu, Feb 3, 2022, 20:53 Serge Alard wrote: > Hello > > I developped a project in Django python that works fine. Thus, I deployed > my project. Everything works but the static files are not found by the > application. > I g

Static files not found

2022-02-03 Thread Serge Alard
Hello I developped a project in Django python that works fine. Thus, I deployed my project. Everything works but the static files are not found by the application. I give you below the settings and wsgi files. *WSGI* import os from django.core.wsgi import get_wsgi_application os.environ.setde

Re: static files not found on development server

2017-07-06 Thread Antonis Christofides
No, the development server recognizes new static files on the fly. However, it can sometimes fail; for example, if you have removed the directory and recreate it. So restarting it is a good idea when you are trying to debug it. Antonis Christofides http://djangodeployment.com On 2017-07-06 19:20

Re: static files not found on development server

2017-07-06 Thread Andreas Schosser
Hi Alex > On development, I run the django-admin runserver, which AFAIK should take > care of the static path. Did you restart the development server. I think the static files are collected at startup and newly added files are not recognized on the fly. Andreas -- Kurs 10 IT-Consulting

Re: static files not found on development server

2017-07-06 Thread Axel Rau
> Am 06.07.2017 um 11:44 schrieb Melvyn Sopacua : > > On development, you're running a webserver that doesn't know the `/static` > url or failed to run `python manage.py collectstatic`. On development, I run the django-admin runserver, which AFAIK should take care of the static path. I have che

Re: static files not found on development server

2017-07-06 Thread Melvyn Sopacua
[Assuming the weird opening quote comma replacement is formatting, not actual code] On Thursday 06 July 2017 11:03:19 Axel Rau wrote: > Why do I get > [06/Jul/2017 09:54:20] "GET /static/css/bootstrap.min.css HTTP/1.1" > 404 1676 on development server, while on production server, it works.

static files not found on development server

2017-07-06 Thread Axel Rau
Hi, I can’t find the answer to this simple question: Why do I get [06/Jul/2017 09:54:20] "GET /static/css/bootstrap.min.css HTTP/1.1" 404 1676 on development server, while on production server, it works. In production, I have On development, I have tried this and this:

static files not found at application level

2013-09-15 Thread John Ellenberger
Just went through the whole "getting started" and the only thing that I couldn't get working as described in the tutorial is searching through the static subdirectories. My current configuration is stopping at the top static directory. So with Apache & WSGI configured as: