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

Change History (1)

comment:1 by Mariusz Felisiak, 2 years ago

Resolution: invalid
Status: newclosed

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

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