I\'m trying to serve static files through WhiteNoise as per Heroku\'s recommendation. When I run collectstatic
in my development environment, this happens:
Much like everyone else, I had a unique fix to this problem... turns out I had a url()
in my styles.css
file with bad syntax.
Once I changed:
background-image: url( '../images/futura_front_blank_medium.jpg' );
to
background-image: url('../images/futura_front_blank_medium.jpg');
(notice the subtle difference -- I removed the spaces on either side of the string)
then python manage.py collectstatic
worked fine and I didn't get that error.