Changes between Initial Version and Version 2 of Ticket #7074


Ignore:
Timestamp:
04/24/08 06:14:56 (7 years ago)
Author:
mtredinnick
Comment:

Fixed description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7074

    • Property Needs documentation unset
    • Property Needs tests unset
    • Property Patch needs improvement unset
  • Ticket #7074 – Description

    initial v2  
    11This query produces the following traceback:
     2{{{
     3#!python
    24Keyword.objects.filter(keyword__search=term, keyworddata__updated__gt=datetime.datetime.now(), keyworddata__source="1")
    3 
     5}}}
    46
    57{{{
     
    131133}}}
    132134
    133 If I change keyword__search= to keyword=, I don't get the error.  Also if I use keyworddata__updated= instead of keyworddata__updated__gt I don't get the error
     135If I change `keyword__search=` to `keyword=`, I don't get the error.  Also if I use `keyworddata__updated=` instead of `keyworddata__updated__gt` I don't get the error.
    134136
    135 KeywordData is a model with a foreign key pointing to keyword - so I guess it's a reverse lookup.
     137`KeywordData` is a model with a foreign key pointing to keyword - so I guess it's a reverse lookup.
    136138
    137139I'm using MySQL 5.0.45.
Back to Top