[Django] #33908: ImageField model doesn't have upload_to() method

4 views
Skip to first unread message

Django

unread,
Aug 9, 2022, 12:41:45 PM8/9/22
to django-...@googlegroups.com
#33908: ImageField model doesn't have upload_to() method
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
NotShrirang |
Type: | Status: new
Uncategorized |
Component: | Version: 4.0
Uncategorized | Keywords: ImageField,
Severity: Normal | upload_to
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
ImageField model doesn't have upload_to() method. Yet it is mentioned in
documentation.

[https://docs.djangoproject.com/en/4.0/ref/models/fields/#imagefield]

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

Django

unread,
Aug 9, 2022, 12:52:57 PM8/9/22
to django-...@googlegroups.com
#33908: ImageField model doesn't have upload_to() method
-------------------------------------+-------------------------------------
Reporter: Shrirang Mahajan | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 4.0
Severity: Normal | Resolution: invalid
Keywords: ImageField, | Triage Stage:
upload_to | 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: new => closed
* resolution: => invalid


Comment:

The `upload_to` keyword argument is inherited from `FileField`. It works
for me.

--
Ticket URL: <https://code.djangoproject.com/ticket/33908#comment:1>

Reply all
Reply to author
Forward
0 new messages