Django

Static vs media files

Static files ship with the code; media files are uploaded by users at runtime.

Why interviewers ask about it

The consequence is deployment: static can be collected and cached hard at build time, media needs writable, backed-up, usually off-server storage.

This term is part of the free Python Full-Stack interview preparation module - browse the full glossary for every definition.