#33388: Improve documentation for file uploads outside of request context
---------------------------------+--------------------------------------
Reporter: Joshua Massover | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 4.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Description changed by Joshua Massover:
Old 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.
New description:
After suggesting a solution on the [https://forum.djangoproject.com/t
/cant-upload-image-though-manage-py-shell/11231/3 forums], 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.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/33388#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.63e441584cbcbdf220baf7f503e48a39%40djangoproject.com.