background image in css style from static files with django
You should simply use background-image: url('/static/images/bg.jpg');
, since Django automatically maps /static
to the correct folder.
There is a special setting that handles how static files are served: STATIC_URL.
That is the correct path to use.