I have managed to solve using the
http://stackoverflow.com/questions/6363728/why-cant-i-get-my-static-dir-to-work-with-django-1-3
by adding to url
url(r'^static/(?P.*)$', 'django.views.static.serve',
{'document_root': settings.STATIC_ROOT } ),
where I have first collected to STATIC_ROOT with col
Yes, I know about that, but I just wanted to test with runserver and
debug=False (I have done my 404.html and with debug=True it does not shows
up)
Isn't the collectstatic command when you want to pass to deployment server?
Thanks
Nenad
--
You received this message because you are subscribed to
On Fri, Jun 8, 2012 at 11:53 AM, Nenad Cikic wrote:
> is there any known reason why I can not see my static files when setting
> debug to false in the settings.py?
> Just setting debug to True all is OK.
you need to run the collectstatic management command
(https://docs.djangoproject.c
Hello,
is there any known reason why I can not see my static files when setting
debug to false in the settings.py?
Just setting debug to True all is OK.
Thanks
Nenad
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this dis
4 matches
Mail list logo