The current file upload doc doesn't show the settings.py changes to
achieve the result, rather than all the settings it should tell the
**minimum** changes require for the **file upload system** to work so
people don't have to look for another blog to find out what was the
problem.
should include or refer:
- a **media** dir in root
- **MEDIA_URL = '/media/'** and **MEDIA_ROOT = os.path.join(BASE_DIR,
'media')**
--
Ticket URL: <https://code.djangoproject.com/ticket/32551>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
"File Uploads" docs already contains a reference to
[https://docs.djangoproject.com/en/3.1/topics/http/file-uploads/#changing-
upload-handler-behavior File upload settings]. It's also explained in
[https://docs.djangoproject.com/en/dev/faq/usage/#how-do-i-use-image-and-
file-fields FAQs] and [https://docs.djangoproject.com/en/dev/topics/files
/#managing-files Managing files] docs.
--
Ticket URL: <https://code.djangoproject.com/ticket/32551#comment:1>