I believe the same applies to ImageField, but have not tested it.
--
Ticket URL: <https://code.djangoproject.com/ticket/32315>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted
Old description:
> The FileField.path attribute is not documented in the
> [[https://docs.djangoproject.com/en/3.1/ref/models/fields/#filefield|FileField
> reference]], even though it is mentioned in
> [[https://docs.djangoproject.com/en/3.1/topics/files/#using-files-in-
> models|Managing files#using-files-in-models]].
>
> I believe the same applies to ImageField, but have not tested it.
New description:
The `FieldFile.path` attribute is not documented in the
[https://docs.djangoproject.com/en/3.1/ref/models/fields/#filefield
FileField reference], even though it is mentioned in
[https://docs.djangoproject.com/en/3.1/topics/files/#using-files-in-models
Managing files#using-files-in-models].
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32315#comment:1>
* owner: nobody => Hasan Ramezani
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/32315#comment:2>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/13839 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/32315#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"3eb98743dcaa0b7abd2d5832cba8cc9cb586a964" 3eb98743]:
{{{
#!CommitTicketReference repository=""
revision="3eb98743dcaa0b7abd2d5832cba8cc9cb586a964"
Fixed #32315 -- Doc'd FieldFile.path.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32315#comment:4>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"2b443cb6c2d55669b20019f2755c0711c3d23050" 2b443cb]:
{{{
#!CommitTicketReference repository=""
revision="2b443cb6c2d55669b20019f2755c0711c3d23050"
[3.1.x] Fixed #32315 -- Doc'd FieldFile.path.
Backport of 3eb98743dcaa0b7abd2d5832cba8cc9cb586a964 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32315#comment:5>