On Wed, Jan 29, 2014 at 5:28 PM, Will A wrote:
> Try
> target_name_name__icontains='foo' or update the foreign key definition.
target_name__name__icontains is what was needed.
Thanks.
>
>
>
> On Wed, Jan 29, 2014 at 5:08 PM, Larry Martell
> wrote:
>>
>> I have a table that has these 2 foreign
Try
target_name_name__icontains='foo' or update the foreign key definition.
On Wed, Jan 29, 2014 at 5:08 PM, Larry Martell wrote:
> I have a table that has these 2 foreign keys:
>
> target_name = models.ForeignKey(Target)
> wafer = models.ForeignKey(Wafer)
>
> Both Target and Wafer are
I have a table that has these 2 foreign keys:
target_name = models.ForeignKey(Target)
wafer = models.ForeignKey(Wafer)
Both Target and Wafer are defined the same:
name = models.CharField(max_length=40, db_index=True, unique=True)
When filtering by wafer I can do this:
wafer__name__icon
3 matches
Mail list logo