Hello,

Sorry not to have replied for so long, but I thought I'd better just
try and dig through it!  In the meantime, I have upgraded to Django
(1, 3, 0, 'alpha', 1) and follow the instructions in the development
documentation.  I am just trying to serve my static files for
development purposes, but no matter what I do, I get 404s for my image
and css files.  Google Chrome reports:

Request URL:http://localhost:8000/static/%20/admin/img/images/
cellobutton.jpg

with that strange %20 in the middle of my link, which seems to relate
to the curly braces in my link:

<img src="{{ STATIC_PREFIX }} /admin/img/images/cellobutton.jpg" />

The rest 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 this again!
Thanks for any help -- 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-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to