Changes between Initial Version and Version 2 of Ticket #7074
- Timestamp:
- Apr 24, 2008, 6:14:56 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7074 – Description
initial v2 1 1 This query produces the following traceback: 2 {{{ 3 #!python 2 4 Keyword.objects.filter(keyword__search=term, keyworddata__updated__gt=datetime.datetime.now(), keyworddata__source="1") 3 5 }}} 4 6 5 7 {{{ … … 131 133 }}} 132 134 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 error135 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. 134 136 135 KeywordDatais 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. 136 138 137 139 I'm using MySQL 5.0.45.