[Django] #33839: support pathlib in template loading

3 views
Skip to first unread message

Django

unread,
Jul 12, 2022, 10:10:53 AM7/12/22
to django-...@googlegroups.com
#33839: support pathlib in template loading
-------------------------------------------+------------------------
Reporter: simon klemenc | Owner: nobody
Type: New feature | Status: new
Component: Template system | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------------+------------------------
Since pathlib is the modern approach to file-paths we should probably
support pathlib.Path in all template loaders

affected PRs:
https://github.com/jrief/django-admin-sortable2/issues/320
https://github.com/django/django/pull/15835

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

Reply all
Reply to author
Forward
0 new messages