Re: Static files ...
I think I'm getting there, and thanks Steve! I've switched my
directory structure around a bit, but I'm now able to make changes
with predictable results. Still no image, however, but I can't be too
far off. I'll return to the context processor thing as soon as I see
an image. I now have:
STATICFILES_ROOT = '/Users/jonno/django_projects/MCOt/static/'
My template calls:
<img src="{{ STATIC_PREFIX }}imgs/cellohome.jpg" />
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 because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home