Hi I have a responsive web page with links to style sheets, scripts and images in it and have created a templateview. The page is appearing at /about/ but all the links are broken inc CSS and scripts. How do I correctly reference them? In the file system I have to go one level up and then down into /images, /css etc so have used ../images and ../css etc. but this doesn't work.
in recharge/recharge: settings.py ... 'django.contrib.staticfiles', ...
views.py: from django.http import HttpResponse from django.views.generic import TemplateView
class AboutView(TemplateView): template_name = "facilities_list.html"
urls.py from django.conf.urls import patterns, include, url from recharge.views import AboutView
urlpatterns = patterns('', (r'^about/', AboutView.as_view()),
Finally facilities_list.html is in recharge/templates and the folders containing the scripts, css etc are in recharge/images, recharge/css etc
What am I doing wrong?
thanks