Static FilesLesson 40Free preview
Install WhiteNoise
This lesson is part of Django · All levels
Summary
WhiteNoise is a library that allows Django to present static files independently without a separate server. How to install WhiteNoise and add it to MIDDLEWARE. It's practical for simple deployment.
Key points
- Install with a pip install whitenoise
- Add white noise middleware to middleware
- Serving static files directly from Django
- Suitable for simple deployment
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.