Static FilesLesson 42Free preview
Add Global Static Files
This lesson is part of Django · All levels
Summary
Global static folders allow you to share static files across applications without doubling. You add it through STATICFILES_DIRS in settings.py. Then the files from that folder can be used anywhere.
Key points
- STATICFILES_DIRS adds to the global static folder
- It works for the whole project.
- Suitable for joint assets
- Application folders are still supported
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.