On 1/29/06, Jeremy Jones <[EMAIL PROTECTED]> wrote: > Nevermind. Apparently, my reference to a class attribute in my __repr__ > was messing stuff up. I guess you can't do that....
You can definitely reference class attributes in __repr__() -- but you need to use the right API function for related objects, which is, in your case, "self.get_product_group().name". Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org