Re: Django static files STATIC_ROOT vs STATICFILES_FINDERS

2013-03-14 Thread Hartmut
I like this explanation very much, thank You. I didn't know, that STATICFILES_DIRS is the source for the DEV-server serving static files. That is a big help. Now, as a consequence, in my project I've renamed the empty static folder (where the collects go into) to "static_collected", that means:

Re: Django static files STATIC_ROOT vs STATICFILES_FINDERS

2012-04-23 Thread gnesher
I'm running manage.py runserver (on the dev environment) the only reason I'm asking this is because I'm quite certain on my previous installs (Django 1.3) it worked fine On Apr 23, 12:54 pm, Philip Mountifield wrote: > It depends how you are running. When using "manage.py runserver" it > serves t

Re: Django static files STATIC_ROOT vs STATICFILES_FINDERS

2012-04-23 Thread Philip Mountifield
It depends how you are running. When using "manage.py runserver" it serves the static files for you, without even needing to collect them IIRC. But when deploying, you have to run "manage.py collectstatic" and Django collects all the files from the other locations for you and puts them in STATI

Re: Django static files STATIC_ROOT vs STATICFILES_FINDERS

2012-04-23 Thread gnesher
But then shouldn't I expect the files to be served from the STATIC_ROOT as well ? On Apr 23, 12:38 pm, Philip Mountifield wrote: > There is a slight difference: > >   * STATIC_ROOT is where you would like the files to be collected to >     when you run "manage.py collectstatic" and should be emp

Re: Django static files STATIC_ROOT vs STATICFILES_FINDERS

2012-04-23 Thread Philip Mountifield
There is a slight difference: * STATIC_ROOT is where you would like the files to be collected to when you run "manage.py collectstatic" and should be empty to begin with. * STATICFILES_DIRS is where the actual files are located and they will be automagically servered under the developm