Adrian Holovaty wrote:
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
Cool. That works. Thanks to the both of you.
Now I'm having an admin issue, but I'll post that to a different thread.
- jmj