On 11/19/2010 1:56 PM, jonno wrote: > 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" /> > Bingo! (I hope).
Try <img src="{{ STATIC_PREFIX }}admin/img/images/cellobutton.jpg" /> regards Steve -- DjangoCon US 2010 September 7-9 http://djangocon.us/ -- 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.