﻿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
1837	flatpages has no __str__()	wam-django-ticket@…	Adrian Holovaty	"Apparently the admin interface now uses __str__() rather than __repr__() to display values to the end user. The contrib application only has a __repr__ method defined on the !FlatPages object, so when viewing the list of flat pages, through the admin interface, we only see the class name, which is not particularly useful.

It seems like if you were calling str() on the object then if __str__ was defined it would get used, but if not, then __repr__() would be used as a fall back.

Finally, it looks like this change has also bitten the django website itself the navigation links on the right hand side of
http://www.djangoproject.com/documentation/generic_views/
shows:
{{{
    * ""Simple"" generic views
          o django.views.generic.simple.direct_to_template
          o django.views.generic.simple.redirect_to
    * Date-based generic views
          o django.views.generic.date_based.archive_index
          o django.views.generic.date_based.archive_year
[snipped for brevity]
}}}

I'm filing this ticket under 'core' since it spans beyond just the admin interface (as evidenced by the above URL)"	defect	closed	Core (Other)	dev	normal	fixed			Unreviewed	0	0	0	0	0	0
