I had another go at this one (can never sleep on a problem)
Fixed it: The problem was my lack of test data.
If you only have one record in the table related to your foreign key,
then the filter list will not show up at the side of the admin screen.
If you add another record then the filter list
On Thu, Nov 20, 2008 at 11:23 AM, dash86no <[EMAIL PROTECTED]> wrote:
>
> Having reread that documentation I can see it says "ForeignKey" as
> plain as day.
>
> Sorry I'm an idiot. I'll work on this again tomorrow, time for sleep I
> think
>
>
>
> On Nov 20, 10:19 pm, dash86no <[EMAIL PROTECTED]>
Having reread that documentation I can see it says "ForeignKey" as
plain as day.
Sorry I'm an idiot. I'll work on this again tomorrow, time for sleep I
think
On Nov 20, 10:19 pm, dash86no <[EMAIL PROTECTED]> wrote:
> Karen,
>
> Most people I know say "hey guys" to refer to mixed groups. I'm 27
Karen,
Most people I know say "hey guys" to refer to mixed groups. I'm 27 and
mostly spending time with Americans nowadays so I don't know if that
has anything to do with it.
Anyway, I did try it, and I found whenever I tried to specify a
foreign key it was simply ignored. I.e. no error message
On Nov 20, 12:33 pm, "Dominic Ashton" <[EMAIL PROTECTED]>
wrote:
> Guys,
>
> A brief google search has led me to conclude that it's not possible to
> filter on a foreign key field in the Admin.
>
> Can anyone explain the design rationale around that? Filtering by anything
> but a foreign key value
On Thu, Nov 20, 2008 at 7:33 AM, Dominic Ashton <[EMAIL PROTECTED]>wrote:
> Guys,
>
> A brief google search has led me to conclude that it's not possible to
> filter on a foreign key field in the Admin.
>
Did you try it? I have foreign key fields specified in my filters and they
work. What happ
Hi Dominic,
do you may have a code sample?
-tom
On 20 Nov., 13:33, "Dominic Ashton" <[EMAIL PROTECTED]> wrote:
> Guys,
>
> A brief google search has led me to conclude that it's not possible to
> filter on a foreign key field in the Admin.
>
> Can anyone explain the design rationale around that
Guys,
A brief google search has led me to conclude that it's not possible to
filter on a foreign key field in the Admin.
Can anyone explain the design rationale around that? Filtering by anything
but a foreign key value is usuless in many of my models. To give you a
concrete example: I have a Pro
8 matches
Mail list logo