Static FilesLesson 41Free preview
Collect Static Files
This lesson is part of Django · All levels
Summary
Collectstatic collects all the static files from all the applications into one destination folder. This command is executed with the python collectstatic. This file set is then served by servers like WhiteNoise. (manage.py)
Key points
- Run the python collectstatic (manage.py)
- Collecting static all the applications
- Goals are set by STATIC_ROOT
- It needs to be run when deployed
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.