﻿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
24454	SimpleLazyObject __repr__ does not work for collections.namedtuple	Emil Temirov	Tino de Bruijn	"Patch:

{{{
--- a/django/utils/functional.py
+++ b/django/utils/functional.py
@@ -349,7 +349,7 @@ class SimpleLazyObject(LazyObject):
             repr_attr = self._setupfunc
         else:
             repr_attr = self._wrapped
-        return '<SimpleLazyObject: %r>' % repr_attr
+        return '<SimpleLazyObject: %r>' % (repr_attr, )
 
     # Need to pretend to be the wrapped class, for the sake of objects that
     # care about this (especially in equality tests)
}}}"	Bug	closed	Core (Other)	dev	Normal	fixed	SimpleLazyObject, namedtuple, __repr__		Accepted	0	0	0	0	1	0
