#36817: Possible regression of Engine.get_template
-------------------------------------+-------------------------------------
     Reporter:  Henrik Ossipoff      |                    Owner:  (none)
  Hansen                             |
         Type:  Bug                  |                   Status:  new
    Component:  Template system      |                  Version:  6.0
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Henrik Ossipoff Hansen):

 {{{
 TypeError at /admin/terminals/terminal/
 sequence item 0: expected str instance, PosixPath found
 Request Method: GET
 Request URL:    http://localhost:8000/admin/terminals/terminal/
 Django Version: 6.0
 Exception Type: TypeError
 Exception Value:
 sequence item 0: expected str instance, PosixPath found
 Exception Location:     /usr/local/lib/python3.14/site-
 packages/django/template/loader.py, line 47, in select_template
 Raised during:  adminsortable2.admin.changelist_view
 Python Executable:      /usr/local/bin/python
 Python Version: 3.14.2
 Python Path:
 ['/code',
  '/code',
  '/usr/local/lib/python314.zip',
  '/usr/local/lib/python3.14',
  '/usr/local/lib/python3.14/lib-dynload',
  '/usr/local/lib/python3.14/site-packages']
 Server time:    Mon, 22 Dec 2025 08:54:07 +0000
 Traceback Switch to copy-and-paste view
 /usr/local/lib/python3.14/site-packages/django/core/handlers/exception.py,
 line 55, in inner
                 response = get_response(request)
                                ^^^^^^^^^^^^^^^^^^^^^ …
 Local vars
 /usr/local/lib/python3.14/site-packages/django/core/handlers/base.py, line
 221, in _get_response
                 response = response.render()
                                 ^^^^^^^^^^^^^^^^^ …
 Local vars
 /usr/local/lib/python3.14/site-packages/django/template/response.py, line
 114, in render
             self.content = self.rendered_content
                                 ^^^^^^^^^^^^^^^^^^^^^ …
 Local vars
 /usr/local/lib/python3.14/site-packages/django/template/response.py, line
 90, in rendered_content
         template = self.resolve_template(self.template_name)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ …
 Local vars
 /usr/local/lib/python3.14/site-packages/django/template/response.py, line
 72, in resolve_template
             return select_template(template, using=self.using)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ …
 Local vars
 /usr/local/lib/python3.14/site-packages/django/template/loader.py, line
 47, in select_template
         raise TemplateDoesNotExist(", ".join(template_name_list),
 chain=chain)
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ …
 Local vars
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36817#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019b4544dd4d-06e22c9d-caaa-4b37-9a53-7d44d906124f-000000%40eu-central-1.amazonses.com.

Reply via email to