Opened 3 years ago

Last modified 3 years ago

#33388 closed Cleanup/optimization

Improve documentation for file uploads outside of request context — at Initial Version

Reported by: Joshua Massover Owned by: nobody
Component: Documentation Version: 4.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

After suggesting a solution on the [forum](https://forum.djangoproject.com/t/cant-upload-image-though-manage-py-shell/11231/3), I thought that the documentation could use an example as well. As far as I could find, there wasn't an example for how to upload a file outside of a request content. I know I have done this in tests, celery tasks, and management commands.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top