Simple Django Deployment (part 9): Serving static files in production

Опубликовано: 28 Апрель 2020
на канале: Matt Segal
32,345
534

Video for the tutorial: https://mattsegal.dev/simple-django-d...

So your static files (CSS, JS, images, etc) work fine when DEBUG=True, but they're broken when DEBUG=False. This doesn't seem like a "debug" thing... what the fuck? Right? They were working before!?!? Whose ideas was this?

Alright, let's set up Whitenoise and solve our static files problem.