Questions tagged [whitenoise]

Wiki: In signal processing, white noise is a random signal having equal intensity at different frequencies, giving it a constant power spectral density.

125 questions
1
vote
0 answers

Compressed CSS files generated by django-compressor/libsass are not served on the first launch of the server, but are served on subsequent launches

I'm working on a Django app for the first time and I had reached a stage where I was feeling comfortable with the app's functioning in the development environment. To deploy I had to set DEBUG=False which brought some challenges. I learnt that the…
Amos P
  • 35
  • 6
1
vote
1 answer

Do we need to add files (in the folder) that White Noise creates to the gitignore list?

I have a django project and using whitenoise for static files serving. When we run py manage.py collectstatic whitenoise, that create lot of files in selected folder in STATIC_ROOT object of settings.py file. It takes up a lot of volume. Do I have…
1
vote
2 answers

How to write dynamic (Django) URLs for serving images using Whitenoise on Heroku?

I followed this answer here and read the tips here about serving static images. But I'm baffled: The official Whitenoise docs said to write the URLs this way: Hi! And NOT this way: