I\'m having difficulty referencing static files in my templates. I am using Twitter Bootstrap and have the bootstrap files (css, img, js) sitting at mysite/static.
Are you setting the user_stylesheet context variable in your view? You need to set that before you can pass it onto templates.
I usually just use the {{ static_url }} tag for doing this stuff, so my code for including bootstrap components would be like.
Assuming that bootstrap folder is present inside static.
EDIT
For your case, to set user_stylesheet context variable, you'll need to do something like
dict["user_stylesheet"]=
#add other context variables you might have to
render_to_response(, dict, context_instance=RequestContext(request))