On Tue, Oct 9, 2012 at 4:15 PM, Jaap van Wingerde <
jvw...@gmail.com> 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 forward slashes, even on Windows.
> # Don't forget to use absolute paths, not relative paths.
> '/home/jaap/data/development/workspace/django/
liakoster.nl/static/',
> )"
>
> "jaap@jaap:~/data/development/workspace/django/
liakoster.nl$ python
> manage.py runserver
jaap.custard.shrl.nl:8000
> Validating models...
>
> 0 errors found
> Django version 1.4.1, using settings 'liakosternl.settings'
> Development server is running at
http://jaap.custard.shrl.nl:8000/
> Quit the server with CONTROL-C.
> [09/Oct/2012 17:08:23] "GET /admin/data/maker/add/ HTTP/1.1" 200 15449
> [09/Oct/2012 17:08:23] "GET
> /static/grappelli/jquery/ui/css/custom-theme/jquery-ui-1.8.18.custom.css
> HTTP/1.1" 404 2573
> [09/Oct/2012 17:08:23] "GET /static/grappelli/stylesheets/screen.css
> HTTP/1.1" 404 2477
> [09/Oct/2012 17:08:23] "GET
> /static/grappelli/stylesheets/mueller/grid/output.css HTTP/1.1" 404 2516
> [09/Oct/2012 17:08:23] "GET /static/grappelli/jquery/jquery-1.7.2.min.js
> HTTP/1.1" 404 2489
> [09/Oct/2012 17:08:24] "GET
> /static/grappelli/jquery/ui/js/jquery-ui-1.8.18.custom.min.js HTTP/1.1" 404
> 2540
> [09/Oct/2012 17:08:24] "GET /static/grappelli/js/grappelli.min.js HTTP/1.1"
> 404 2468
> [09/Oct/2012 17:08:24] "GET /static/admin/js/core.js HTTP/1.1" 404 2429
> [09/Oct/2012 17:08:24] "GET /static/admin/js/admin/RelatedObjectLookups.js
> HTTP/1.1" 404 2495
> [09/Oct/2012 17:08:24] "GET /static/admin/js/jquery.js HTTP/1.1" 404 2435
> [09/Oct/2012 17:08:24] "GET /admin/jsi18n/ HTTP/1.1" 200 5439
> [09/Oct/2012 17:08:24] "GET /static/admin/js/actions.js HTTP/1.1" 404 2438
> [09/Oct/2012 17:08:24] "GET /static/admin/js/jquery.init.js HTTP/1.1" 404
> 2450
> [09/Oct/2012 17:08:24] "GET /static/admin/js/core.js HTTP/1.1" 404 2429
> [09/Oct/2012 17:08:24] "GET /static/admin/js/admin/RelatedObjectLookups.js
> HTTP/1.1" 404 2495
> [09/Oct/2012 17:08:24] "GET /static/admin/js/jquery.js HTTP/1.1" 404 2435
> [09/Oct/2012 17:08:24] "GET /static/admin/js/jquery.init.js HTTP/1.1" 404
> 2450
> [09/Oct/2012 17:08:24] "GET /static/admin/js/actions.js HTTP/1.1" 404 2438"
>
> What am I doing wrong?
Well, for starters, you didn't ask a question :)
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?
What does "python manage.py findstatic admin/js/core.js" return?
Cheers
Tom