1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Refs #28428 -- Made filepath_to_uri() support pathlib.Path.

This commit is contained in:
Hasan Ramezani
2019-10-29 21:15:18 +01:00
committed by Mariusz Felisiak
parent 4c762588ff
commit 6315a272c5
4 changed files with 16 additions and 2 deletions

View File

@@ -214,6 +214,12 @@ URLs
* ...
Utilities
~~~~~~~~~
* :func:`~django.utils.encoding.filepath_to_uri` now supports
:class:`pathlib.Path`.
Validators
~~~~~~~~~~