Code

Ticket #17935: doc-media-files.patch

File doc-media-files.patch, 666 bytes (added by guettli, 2 years ago)
  • docs/topics/files.txt

     
    22Managing files 
    33============== 
    44 
    5 This document describes Django's file access APIs. 
     5This document describes Django's file access APIs for 
     6:class:`~django.db.models.FileField` and 
     7:class:`~django.db.models.ImageField`. If you want to handle static 
     8files (JS, CSS, ...) see :doc:`/howto/static-files`. 
    69 
    710By default, Django stores files locally, using the :setting:`MEDIA_ROOT` and 
    811:setting:`MEDIA_URL` settings. The examples below assume that you're using these