Re: Static files ...

2010-11-19 Thread jonno
of the path is where my files are, in fact, if localhost:8000 appends my settings.py line: STATICFILES_ROOT = '/Users/jonno/django_projects/static' And I have: {% load staticfiles %} {% get_staticfiles_prefix as STATIC_PREFIX %} at the top of my template. Sorry to trouble all with t

Re: Static files ...

2010-11-21 Thread jonno
see an image. I now have: STATICFILES_ROOT = '/Users/jonno/django_projects/MCOt/static/' My template calls: and Chrome reports: Request URL:http://localhost:8000/static/imgs/cellohome.jpg This seems correct, but it's still a 404. Thanks again -- Jon. -- You received this message

Re: Static files ...

2010-11-22 Thread jonno
Thanks again, Steve. You know, I think that must be my problem, since I have yet to have a static file served to me. I thought runserver did this by default in development, but I wonder if I'm mixing up development and production settings somewhere. DEBUG is set to true, and the documentation do

Re: Static files ...

2010-11-23 Thread jonno
Slight update: I ran the command: python manage.py findstatic /imgs/cellohome.jpg and received a message that ended with: django.core.exceptions.SuspiciousOperation: Attempted access to '/imgs/ cellohome.jpg' denied. I think that command applies only to a production environment, though, so I d