Re: /static/ 404

2012-10-09 Thread Tom Evans
On Tue, Oct 9, 2012 at 6:01 PM, Jaap van Wingerde wrote: > On Tue, 9 Oct 2012 11:33:36 -0400 > Gladson Simplício Brito wrote: > >> # coding: utf-8DEBUG = False or True ?TEMPLATE_DEBUG = DEBUG >> >> >> if false, it has to serve files with apache, nginx, etc... >> if true, and to operate... > "DEBU

Re: /static/ 404

2012-10-09 Thread Jaap van Wingerde
On Tue, 9 Oct 2012 11:33:36 -0400 Gladson Simplício Brito wrote: > # coding: utf-8DEBUG = False or True ?TEMPLATE_DEBUG = DEBUG > > > if false, it has to serve files with apache, nginx, etc... > if true, and to operate... "DEBUG = True TEMPLATE_DEBUG = DEBUG" -- You received this message beca

Re: /static/ 404

2012-10-09 Thread Jaap van Wingerde
On Tue, 9 Oct 2012 16:31:18 +0100 Tom Evans wrote: > Assuming your question is "Why am I getting 404's for static content > on my dev server, even though I set STATIC_URL?", have you included > 'django.contrib.staticfiles' in INSTALLED_APPS? Yes: "INSTALLED_APPS = ( 'django.contrib.auth',

Re: /static/ 404

2012-10-09 Thread Gladson Simplício Brito
# coding: utf-8DEBUG = False or True ?TEMPLATE_DEBUG = DEBUG if false, it has to serve files with apache, nginx, etc... if true, and to operate... 2012/10/9 Jaap van Wingerde > settings.py: > "STATIC_URL = 'http://jaap.custard.shrl.nl:8000/static/' > > # Additional locations of static files >

Re: /static/ 404

2012-10-09 Thread Tom Evans
On Tue, Oct 9, 2012 at 4:15 PM, Jaap van Wingerde wrote: > settings.py: > "STATIC_URL = 'http://jaap.custard.shrl.nl:8000/static/' > > # Additional locations of static files > STATICFILES_DIRS = ( > # Put strings here, like "/home/html/static" or "C:/www/django/static". > # Always use forw