﻿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
11115	overriding change_list.html causes 'maximum recursion depth exceeded' exceptin	margieroginski@…	nobody	"I am trying to override the admin sites' change_list.html, following
the example at:

http://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-ad...

If I create templates/admin/myapp/change_list.html and just put this
in it (and nothing else):

{% extends ""admin/change_list.html"" %}

I get


{{{
Request Method:         GET
Request URL:    http://172.16.84.5:8042/admin/taskmanager/task/
Exception Type:         TemplateSyntaxError
Exception Value:

Caught an exception while rendering: maximum recursion depth exceeded
in cmp

Original Traceback (most recent call last):
  File ""/tools/aticad/1.0/external/python-2.5.1/lib/python2.5/site-
packages/django/template/debug.py"", line 71, in render_node
    result = node.render(context)
  File ""/tools/aticad/1.0/external/python-2.5.1/lib/python2.5/site-
packages/django/template/loader_tags.py"", line 71, in render
    compiled_parent = self.get_parent(context)
  File ""/tools/aticad/1.0/external/python-2.5.1/lib/python2.5/site-
packages/django/template/loader_tags.py"", line 64, in get_parent
    source, origin = find_template_source(parent, self.template_dirs)
  File ""/tools/aticad/1.0/external/python-2.5.1/lib/python2.5/site-
packages/django/template/loader.py"", line 70, in find_template_source
    source, display_name = loader(name, dirs)
  File ""/tools/aticad/1.0/external/python-2.5.1/lib/python2.5/site-
packages/django/template/loaders/filesystem.py"", line 31, in
load_template_source
    for filepath in get_template_sources(template_name,
template_dirs):
  File ""/tools/aticad/1.0/external/python-2.5.1/lib/python2.5/site-
packages/django/template/loaders/filesystem.py"", line 16, in
get_template_sources
    template_dirs = settings.TEMPLATE_DIRS
  File ""/tools/aticad/1.0/external/python-2.5.1/lib/python2.5/site-
packages/django/utils/functional.py"", line 270, in __getattr__
    if name == ""__members__"":
RuntimeError: maximum recursion depth exceeded in cmp

Exception Location:     /tools/aticad/1.0/external/python-2.5.1/lib/
python2.5/site-packages/django/template/debug.py in render_node, line
81

}}}

I'm using the beta:
>>> django.VERSION

(1, 1, 0, 'beta', 1) 

It has also been confirmed by another user on 1.0.2.
"	Uncategorized	closed	Template system	1.1	Normal	invalid			Unreviewed	0	0	0	0	0	0
