Skip to content

djangodocs

Django 6.1
  • 6.1 current
  • 6.0
  • 5.2 LTS
  • 5.1 unsupported
  • 5.0 unsupported
  • 4.2 unsupported
  • 4.1 unsupported
  • 4.0 unsupported
  • 3.2 unsupported
  • 3.1 unsupported
  • 3.0 unsupported
  • 2.2 unsupported
  • 2.1 unsupported
  • 2.0 unsupported
  • 1.11 unsupported
  • 1.10 unsupported
  • 1.9 unsupported
Português (Brasil)
  • English
  • Svenska
  • 简体中文
  • Gaeilge
  • Français
  • 日本語
  • Bahasa Indonesia
  • Italiano
  • Português (Brasil)
  • 한국어
  • Español
  • Ελληνικά
  • Polski
Documentation contents
  • Documentação do Django
  • Introdução
  • Usando o Django
  • How-to guides
  • Django - Perguntas e dúvidas frequentes.
  • Referência da API
    • Aplicações
    • O framework de verificação do sistema.
    • API nativa de views baseadas em classes
    • Clickjacking Protection
    • contrib packages
    • Content Security Policy
    • Cross Site Request Forgery protection
    • Banco de Dados
    • django-admin and manage.py
    • Django Exceções
    • File handling
      • O objeto File
      • File storage API
      • Uploaded Files and Upload Handlers
    • Formulários
    • Logging
    • Middleware
    • Operações de Migrações
    • Models
    • Paginator
    • Request and response objects
    • SchemaEditor
    • Configurações
    • Signals
    • Tasks
    • Templates
    • TemplateResponse and SimpleTemplateResponse
    • Unicode data
    • django.urls utility functions
    • django.urls functions for use in URLconfs
    • Django Utils
    • Validadores
    • Built-in Views
  • Meta-documentação e miscelâneas
  • Glossário
  • Notas de lançamento
  • Funcionamento interno do Projeto Django
Portuguese (Brazil) translation. Untranslated passages appear in English. 23.8% Help translate
  1. Django 6.1
  2. Referência da API

File handlingLink para este cabeçalho#

  • O objeto File
    • A classe File
    • The ContentFile class
    • A classe ImageFile
    • 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
View as Markdown Edit this page on GitHub Official version
PreviousDjango Exceções NextO objeto File

An unofficial rendering of the Django documentation.

Not affiliated with or endorsed by the Django Software Foundation. The documentation is copyright © Django Software Foundation and individual contributors, and is used under the BSD 3-Clause licence. “Django” is a trademark of the Django Software Foundation.

This translation is the work of the Django i18n community, not of this site. Read the official documentation at docs.djangoproject.com.

👋 Jason Cartwright