On 8/12/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > > On 12-Aug-06, at 3:45 PM, Maciej BliziƱski wrote: > > >> committee = models.ForeignKey( 'Committee' ) > > > > You shouldn't use the string argument (I mean, I never do that). And > > what if one person is in two committees? > > since the class 'Committee' is not yet defined, it wont work without > the ''
Exactly. I found a relevant example here: http://www.djangoproject.com/documentation/models/mutually_referential/ However, this doesn't still gives the same error in the admin. I have filed a ticket for this bug: http://code.djangoproject.com/ticket/2536 Bryan > > -- > > regards > kg > http://lawgon.livejournal.com > http://nrcfosshelpline.in/web/ > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---