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
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
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',
# 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
>
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
5 matches
Mail list logo