Opened 2 years ago
Closed 2 years ago
#33908 closed Uncategorized (invalid)
ImageField model doesn't have upload_to() method
Reported by: | Shrirang Mahajan | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 4.0 |
Severity: | Normal | Keywords: | ImageField, upload_to |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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
Note:
See TracTickets
for help on using tickets.
The
upload_to
keyword argument is inherited fromFileField
. It works for me.