On 4/3/07, mh <[EMAIL PROTECTED]> wrote:
>
> This doesn't seem to be working ('bool' object is not callable); any
> suggestions on how I could fix it?I can't see anything immediately wrong with your model - however, the error you are reporting sounds like a known problem with the manipulators and edit_inline. I can't remember the ticket number of the top of my head, but I do know that problems with edit_inline and manipulators is one of the many reasons that we are introducing newforms. > While at it I might as well ask a second question; > Each entry can reference either another list, or something else. Is > there any way to construct a foreign key from two fields (and have it > work in the admin if possible)? My current solution is to have > multiple foreign keys of which one is active and the others are null - > works but feels somewhat ugly ;). GenericRelations exist for this kind of relationship. GenericRelations aren't completely stable or documented, and they aren't fully supported in the Admin, but they do work reasonably well, and there are some examples of their use at: http://www.djangoproject.com/documentation/models/generic_relations/ Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

