If you just need to know the value of a FK field, and you know how to get this object (which filter to use), then i recommend that you read the section "Selecting Objects" from Chapter 5 of Django Book, the answer is there. Chapter 5 - http://www.djangobook.com/en/1.0/chapter05/
[]s Diego Ucha On 17 maio, 08:52, mwebs <[EMAIL PROTECTED]> wrote: > Hello, > > I need something like this: > > modelObject.fk // returns the FK-value of the modelObject --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---