How to list_filter by a foreign key field not returned by the model's __unicode__?

2009-04-25 Thread kspr
7;origin.country'] .. or something like that. I have tried multiple things, but I always end up realizing that the field I need to filter by needs to be represented in the Doctor-model. Any suggestions to what I might do to fix this? Thanks in advance, Kspr PS: Some extra code if ne

How to list_filter by a foreign key field not returned by the model's __unicode__?

2009-04-25 Thread kspr
7;origin.country'] .. or something like that. I have tried multiple things, but I always end up realizing that the field I need to filter by needs to be represented in the Doctor-model. Any suggestions to what I might do to fix this? Thanks in advance, Kspr PS: I am having trouble with