Hello,
I have a file "app/static/docs/Report 2008 12.pdf" i.e. it is in a subdir of static and the filename has spaces.
I use URL('static', 'docs', 'Report 2008 12.pdf') to generate the link.
What am I doing wrong?
Or to re-phrase - what url should I use to serve static documents from the docs sub directory of the static directory if the filename has spaces in it? Files with no spaces in the filename work fine.
The only weird thing in my routes.py is map_hyphen = True.
Many thanks for your help.
Jonathan.