Hi Kenneth,

I tried that before using:
submitterid = models.ForeignKey('Author', to_field='authorid')

On May 10, 9:07 am, Kenneth Gonsalves <law...@thenilgiris.com> wrote:
> On Mon, 2011-05-09 at 23:56 -0700, Michel30 wrote:
> > Now, for every documentid I retrieve I want to find it's firstname and
> > lastname. Authorid relates to submitterid in this case.
>
> submitter should be foreign key to author - then all your problems will
> go away.
> --
> regards
> KGhttp://lawgon.livejournal.com
> Coimbatore LUG roxhttp://ilugcbe.techstud.org/

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to