This document is for a local build or a pull-request preview build of Django.
Skip to main content
Django

Django 6.2.dev20260610221126 documentation

File handling¶

  • The File object
    • The File class
    • The ContentFile class
    • The ImageFile class
    • Additional methods on files attached to objects
  • File storage API
    • Getting the default storage class
    • The FileSystemStorage class
    • The InMemoryStorage class
    • The Storage class
  • Uploaded Files and Upload Handlers
    • Uploaded files
    • Built-in upload handlers
    • Writing custom upload handlers
Previous page and next page
Django Exceptions
The File object
Back to Top

Additional Information

Browse

  • Prev: Django Exceptions
  • Next: The File object
  • Table of contents
  • General Index
  • Python Module Index

You are here:

  • Django 6.2 documentation
    • API Reference
      • File handling

Getting help

FAQ
Try the FAQ — it's got answers to many common questions.
Index, Module Index, or Table of Contents
Handy when looking for specific information.
Last updated on Jun 10, 2026.
Created using Sphinx 9.1.0.
Django theme designed by Threespot & andrevv.
© Django Software Foundation and contributors.
Django is a registered trademark of the Django Software Foundation.