Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion /static/ 404

Received: by 10.181.12.101 with SMTP id ep5mr764645wid.1.1349801990001;
        Tue, 09 Oct 2012 09:59:50 -0700 (PDT)
X-BeenThere: django-users@googlegroups.com
Received: by 10.180.73.17 with SMTP id h17ls10441131wiv.0.canary; Tue, 09 Oct
 2012 09:58:54 -0700 (PDT)
Received: by 10.180.107.167 with SMTP id hd7mr764076wib.0.1349801934917;
        Tue, 09 Oct 2012 09:58:54 -0700 (PDT)
Received: by 10.216.101.133 with SMTP id b5msweg;
        Tue, 9 Oct 2012 09:57:25 -0700 (PDT)
Received: by 10.180.73.134 with SMTP id l6mr763840wiv.1.1349801844944;
        Tue, 09 Oct 2012 09:57:24 -0700 (PDT)
Received: by 10.180.73.134 with SMTP id l6mr763839wiv.1.1349801844933;
        Tue, 09 Oct 2012 09:57:24 -0700 (PDT)
Return-Path: <mailingli...@vanwingerde.net>
Received: from mail.shrl.nl (mail.shrl.nl. [2a02:898:62:1af0:0:deb:eeee:deb2])
        by gmr-mx.google.com with ESMTPS id b5si1359593wie.2.2012.10.09.09.57.24
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 09 Oct 2012 09:57:24 -0700 (PDT)
Received-SPF: neutral (google.com: 2a02:898:62:1af0:0:deb:eeee:deb2 is neither permitted nor denied by best guess record for domain of mailingli...@vanwingerde.net) client-ip=2a02:898:62:1af0:0:deb:eeee:deb2;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2a02:898:62:1af0:0:deb:eeee:deb2 is neither permitted nor denied by best guess record for domain of mailingli...@vanwingerde.net) smtp.mail=mailingli...@vanwingerde.net; dkim=neutral (no signature) header...@vanwingerde.net
Received: from mail.shrl.nl (localhost [127.0.0.1])
	by mail.shrl.nl (Postfix) with ESMTP id 6A28E138009
	for <django-users@googlegroups.com>; Tue,  9 Oct 2012 16:57:24 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=vanwingerde.net; h=date
	:from:to:subject:message-id:in-reply-to:references:mime-version
	:content-type:content-transfer-encoding; s=postfix; bh=ZYmxxrF8T
	LpN9Dl3g8qP3aJTyAA=; b=FZVBtqgRuwEI36JwO7cWQmtEWhXC4zCQ2qmyNM0OF
	dKpvDecTwVgVTEjMsegIW+281hVI1qw0AyCT5dqhAQU/34/AcPEL848RwtoXmcq+
	SYU6wmwfNzqAJZqXx0R2ao6aKPxfb6YuR2XllqdYidau+UrovubfOGLRZNA717YW
	X0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=vanwingerde.net; h=date:from
	:to:subject:message-id:in-reply-to:references:mime-version
	:content-type:content-transfer-encoding; q=dns; s=postfix; b=Hmr
	mguRlJjK7GfROSmLYMFyMevydC31/xVtndgWml/CHx32xTp0K8WfpBs2S9KD3tOJ
	CtPJ3TlTfhdR3XHuHLHX2uck/CqtbTtvg7JNH6KLs1bqM5/sLxtdQmPV+5cSQ7JS
	jotZKI2DYGrdFdkbMBZaejnUgij9fjAibEVdD03w=
Received: from mail.custard.shrl.nl (93-125-244-48.dsl.alice.nl [93.125.244.48])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.shrl.nl (Postfix) with ESMTPS id 56C03138007
	for <django-users@googlegroups.com>; Tue,  9 Oct 2012 16:57:24 +0000 (UTC)
Received: from jaap.custard.shrl.nl (unknown [IPv6:2a02:898:62:1afc:809f:ef9:6e46:9bc3])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: mailinglists)
	by mail.custard.shrl.nl (Postfix) with ESMTPSA id BB2E82232898
	for <django-users@googlegroups.com>; Tue,  9 Oct 2012 16:57:23 +0000 (UTC)
Date: Tue, 9 Oct 2012 16:56:54 +0000
From: Jaap van Wingerde <mailingli...@vanwingerde.net>
To: django-users@googlegroups.com
Subject: Re: /static/ 404
Message-ID: <20121009165654.1ed21...@jaap.custard.shrl.nl>
In-Reply-To: <CAFHbX1LxtxFHu-bnow-ZciUxqGYFMqvQdE8TZMaWGZm7sVs...@mail.gmail.com>
References: <6a96e30b-6dfd-4419-a47e-1639cee6aa56@googlegroups.com>
	<CAFHbX1LxtxFHu-bnow-ZciUxqGYFMqvQdE8TZMaWGZm7sVs...@mail.gmail.com>
Organization: Yellow matter custard
X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Tue, 9 Oct 2012 16:31:18 +0100
Tom Evans <tevans...@googlemail.com> 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',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'grappelli',
    'filebrowser',
    'grappelli.dashboard',
    # Uncomment the next line to enable the admin:
    'django.contrib.admin',
    # Uncomment the next line to enable admin documentation:
    'django.contrib.admindocs',
#    'south',
    'data',
)" 
> What does "python manage.py findstatic admin/js/core.js" return?
jaap@jaap:~$
"cd /home/jaap/data/development/workspace/django/liakoster.nl
jaap@jaap:~/data/development/workspace/django/liakoster.nl$ python
manage.py findstatic admin/js/core.js Found 'admin/js/core.js'
here: /home/jaap/data/development/workspace/django/liakoster.nl/static/admin/js/core.js /usr/local/lib/python2.7/dist-packages/grappelli/static/admin/js/core.js
  /usr/share/pyshared/django/contrib/admin/static/admin/js/core.js
jaap@jaap:~/data/development/workspace/django/liakoster.nl$"