In my new admin branch, I've just committed a change that makes debugging template errors a lot easier. Here is an example of the error messages now:
TemplateSyntaxError?: Unclosed tag 'if' starting at /usr/lib/python2.4/site-packages/django/conf/admin_templates/admin_submit_line.html, line 6. Looking for one of: else, endif The changeset is at http://code.djangoproject.com/changeset/796 It may be pretty easy to port this over to the trunk, if the changes to django/core/template_loader.py django/core/template_file.py django/core/template.py are extracted.
