﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36817	Possible regression of Engine.get_template	Henrik Ossipoff Hansen	Varun Kasyap Pentamaraju	"While trying to upgrade to Django 6.0 locally today, we noticed an issue with one of our third party packages, adminsortable2.

For their admin templates, they use Path objects: https://github.com/jrief/django-admin-sortable2/blob/master/adminsortable2/admin.py#L124

This has worked until this commit https://github.com/django/django/commit/5e06b970956af4854e970e74990cb971ba31c96b where get_template was refactored to support Template Partials.

As a by-product, template names now have to be strings.

I don't see that it was ever mentioned/officially supported, to use Path objects for templates, but I would suspect that several third party libraries does this, and I would therefore see this as a regression.

If this is deemed not to be the case, I'll create an issue on their Github to change the behaviour."	Bug	closed	Template system	6.0	Normal	duplicate		Carlton Gibson	Unreviewed	0	0	0	0	0	0
