Files in Django
summary
Covers the Django file API (fields, storage interface, collectstatic), the concrete tradeoffs of serving static vs media, and deployment choices: use whitenoise behind a CDN for static files or a reverse proxy like nginx, avoid runserver in production, and why serving user uploads from the app domain is risky. Walks through django-storages and S3 patterns, signed URLs and get_available_name for collisions, notes migrations-serialization pain, and demos an IPFS backend that actually runs but is intentionally insecure.
AI-written summary · about
chapters (4)
- 0:00Start
- 1:24djangocon.us STATIC & MEDIA FILES
- 2:57djangocon.us STATIC FILES
- 14:53djangocon.us LET'S WRITE A STORAGE BACKEND
related talks
26mWhat Django Deployment is Really About
29mConfident Asset Deployments With Webpack & Django
12mDjangoCon 2008 Keynote Questions: State of Django
33mThe D is Silent: Challenges in Teaching Django
45mThe Server Side: The coolest parts of backend development with Django
40mManaging Content with Django
47mHigh Performance Django at Ten: Old Tricks & New Picks
54mAdvanced Aspects of the Django Ecosystem: Haystack, Celery & Fabric
