going to /admin/doc/tags/ results in the following traceback:
There's been an error:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py", line 63, in get_response
return callback(request, **param_dict)
File "/usr/lib/python2.4/site-packages/django/views/decorators/cache.py", line 27, in _check_cache
response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.4/site-packages/django/views/admin/doc.py", line 71, in template_tag_index
return HttpResponse(t.render(c))
File "/usr/lib/python2.4/site-packages/django/core/template.py", line 116, in render
return self.nodelist.render(context)
File "/usr/lib/python2.4/site-packages/django/core/template.py", line 437, in render
bits.append(node.render(context))
File "/usr/lib/python2.4/site-packages/django/core/template_loader.py", line 97, in render
return compiled_parent.render(context)
File "/usr/lib/python2.4/site-packages/django/core/template.py", line 116, in render
return self.nodelist.render(context)
File "/usr/lib/python2.4/site-packages/django/core/template.py", line 437, in render
bits.append(node.render(context))
File "/usr/lib/python2.4/site-packages/django/core/template_loader.py", line 79, in render
compiled_parent = self.get_parent(context)
File "/usr/lib/python2.4/site-packages/django/core/template_loader.py", line 74, in get_parent
return get_template_from_string(load_template_source(parent, self.template_dirs))
File "/usr/lib/python2.4/site-packages/django/core/template_loader.py", line 20, in get_template_from_string
return template.Template(source)
File "/usr/lib/python2.4/site-packages/django/core/template.py", line 107, in __init__
self.nodelist = compile_string(template_string)
File "/usr/lib/python2.4/site-packages/django/core/template.py", line 122, in compile_string
return parser.parse()
File "/usr/lib/python2.4/site-packages/django/core/template.py", line 220, in parse
nodelist.append(registered_tags[command](self, token))
File "/usr/lib/python2.4/site-packages/django/core/template_loader.py", line 115, in do_block
nodelist = parser.parse(('endblock',))
File "/usr/lib/python2.4/site-packages/django/core/template.py", line 222, in parse
raise TemplateSyntaxError, "Invalid block tag: '%s'" % command
TemplateSyntaxError: Invalid block tag: 'admin_media_prefix'
I can't reproduce this, but it sounds like you're missing a
{% load adminmedia %
} somewhere; have you updated your code lately?