We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Files in Django

Formal Metadata

Title
Files in Django
Title of Series
Part Number
32
Number of Parts
48
Author
Contributors
License
CC Attribution - ShareAlike 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
One of the most confusing parts of Django for newcomers (and some old hands alike!) is the handling of files. Among the 10+ settings, static vs user uploaded distinction, and plethora of deployment options it’s no wonder that many people end up cargo-culting their production settings. The API overview Short introduction Go over the difference between static & media files Run through the File abstraction and the various settings Django Storage API, collectstatic etc Production & Development configuration Whitenoise/dj-static/Nginx for static files Cloud storage providers for media & static files (S3 etc, mention some popular libraries such as django-storages) CDNs Implement a storage engine together & the future Implementation - practicing what we just learned to solidify understanding Closing remarks and mention possible future Django developments.