[Django] #33388: Improve documentation for file uploads outside of request context

12 views
Skip to first unread message

Django

unread,
Dec 27, 2021, 2:01:44 PM12/27/21
to django-...@googlegroups.com
#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 | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/33388>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 27, 2021, 2:04:01 PM12/27/21
to django-...@googlegroups.com
#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

unread,
Dec 27, 2021, 2:05:05 PM12/27/21
to django-...@googlegroups.com
#33388: Improve documentation for file uploads outside of request context
-------------------------------------+-------------------------------------
Reporter: Joshua Massover | Owner: Joshua
| Massover
Type: Uncategorized | Status: assigned
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
-------------------------------------+-------------------------------------
Changes (by Joshua Massover):

* owner: nobody => Joshua Massover
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/33388#comment:2>

Django

unread,
Dec 27, 2021, 2:12:32 PM12/27/21
to django-...@googlegroups.com
#33388: Improve documentation for file uploads outside of request context
-------------------------------------+-------------------------------------
Reporter: Joshua Massover | Owner: Joshua
| Massover
Type: Uncategorized | Status: assigned
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 [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.

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.

https://github.com/django/django/pull/15245

--

--
Ticket URL: <https://code.djangoproject.com/ticket/33388#comment:3>

Django

unread,
Dec 27, 2021, 2:16:29 PM12/27/21
to django-...@googlegroups.com
#33388: Improve documentation for file uploads outside of request context
-------------------------------------+-------------------------------------
Reporter: Joshua Massover | Owner: Joshua
Type: | Massover
Cleanup/optimization | Status: assigned
Component: Documentation | 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
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* type: Uncategorized => Cleanup/optimization
* component: Uncategorized => Documentation


Comment:

Duplicate of #32243.

--
Ticket URL: <https://code.djangoproject.com/ticket/33388#comment:4>

Django

unread,
Dec 27, 2021, 2:16:38 PM12/27/21
to django-...@googlegroups.com
#33388: Improve documentation for file uploads outside of request context
-------------------------------------+-------------------------------------
Reporter: Joshua Massover | Owner: Joshua
Type: | Massover
Cleanup/optimization | Status: closed
Component: Documentation | Version: 4.0
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: assigned => closed
* resolution: => duplicate


--
Ticket URL: <https://code.djangoproject.com/ticket/33388#comment:5>

Reply all
Reply to author
Forward
0 new messages