Re: [M-R] __repr__ or __str__?

2006-04-29 Thread Malcolm Tredinnick
On Sat, 2006-04-29 at 14:49 +0200, Petar Marić wrote: > Looking through some recent changes I noticed that some M-R code uses > __repr__ and some new checkins use __str__ > > Is there anything we need to know? Short answer: You need to know that Django is coming around to the Pythonic way of

[M-R] __repr__ or __str__?

2006-04-29 Thread Petar Marić
Looking through some recent changes I noticed that some M-R code uses __repr__ and some new checkins use __str__ Is there anything we need to know? -- Petar Marić *e-mail: [EMAIL PROTECTED] *mobile: +381 (64) 6122467 *icq: 224720322 *skype: petar_maric *web: http://www.petarmaric.com/