Thank you James, that's perfect. However I did run into a snag - I was going to use the slug field of my attribute to be the "defined term" so in this case brightness-ansi-lumens, but I'm getting another "Cannot parse remainder" on the hyphens. It's a perfectly acceptable limitation to just rename the slugs, but is there any way it can work as is?
Adam On 5/8/07, James Bennett <[EMAIL PROTECTED]> wrote: > > > On 5/8/07, James Bennett <[EMAIL PROTECTED]> wrote: > > 2. If that doesn't work, try to access it as a normal Python attribute. > > 3. If that doesn't work, try to call it: foo.bar(). > > (and to be completely honest, it actually does a 'callable' check on > the attribute before trying to call it, so if getattr(foo, 'bar') > doesn't work it will skip that part) > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of > correct." > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---