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 5286,Non-HTML output in python manage.py adminindex ,dan.fairs@…,Alexander Solovyov,"This is on Django trunk rev 6023, running on python 2.4.3 compiled from source on Mac OS X 10.4.10, running with PostgreSQL (again from source) 8.1.4. I created a simple project 'qwacks' with a single app 'diary'. I created a very simple model (attached). Settings and configuration also attached. I then added a custom directory to TEMPLATE_DIRS, preparing to customise teh Django index page as described in http://www.djangoproject.com/documentation/tutorial02/. Upon running python manage.py adminindex diary, I get the following output: {{{ {% if perms.diary %}

Diary

{% if perms.diary.add_event or perms.diary.change_event %} {% endif %}
{% if perms.diary.change_event %}{% endif %}{% if perms.diary.change_event %}{% endif %} {% if perms.diary.add_event %}{% endif %}Add{% if perms.diary.add_event %}{% endif %} {% if perms.diary.change_event %}{% endif %}Change{% if perms.diary.change_event %}{% endif %}
{% endif %} }}} Note what appears to be a python object repr in the th tag. Please let me know if you need any more information.",,closed,contrib.admin,dev,,fixed,admin adminindex manage.py repr str proxy,,Accepted,1,0,0,0,0,0