Changes between Initial Version and Version 1 of Ticket #2331
- Timestamp:
- Jul 11, 2006, 8:32:52 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2331 – Description
initial v1 5 5 Traceback (most recent call last): 6 6 File "/home/data/py/django/core/handlers/base.py" in get_response 7 7 74. response = callback(request, *callback_args, **callback_kwargs) 8 8 File "/home/data/py/zilbo/common/utils/views/filter.py" in _wrapper 9 9 37. return generic(request, queryset.filter(**filter), *args, **kw) 10 10 File "/home/data/py/django/views/generic/list_detail.py" in object_list 11 11 45. object_list = paginator.get_page(page - 1) 12 12 File "/home/data/py/django/core/paginator.py" in get_page 13 13 36. object_list = list(self.query_set[offset:offset+limit]) 14 14 File "/home/data/py/django/db/models/query.py" in __iter__ 15 15 103. return iter(self._get_data()) 16 16 File "/home/data/py/django/db/models/query.py" in _get_data 17 17 430. self._result_cache = list(self.iterator()) 18 18 File "/home/data/py/django/db/models/query.py" in iterator 19 19 171. select, sql, params = self._get_sql_clause() 20 20 File "/home/data/py/django/db/models/query.py" in _get_sql_clause 21 21 444. joins2, where2, params2 = self._filters.get_sql(opts) 22 22 File "/home/data/py/django/db/models/query.py" in get_sql 23 23 574. joins2, where2, params2 = val.get_sql(opts) 24 24 File "/home/data/py/django/db/models/query.py" in get_sql 25 25 622. return parse_lookup(self.kwargs.items(), opts) 26 26 File "/home/data/py/django/db/models/query.py" in parse_lookup 27 27 734. joins2, where2, params2 = lookup_inner(path, lookup_type, value, opts, opts.db_table, None) 28 28 File "/home/data/py/django/db/models/query.py" in lookup_inner 29 29 906. params.extend(field.get_db_prep_lookup(lookup_type, value)) 30 30 File "/home/data/py/django/db/models/fields/related.py" in get_db_prep_lookup 31 31 105. raise TypeError, "Related Field has invalid lookup: %s" % lookup_type 32 32 33 34 33 TypeError at /asset/machine/ 34 Related Field has invalid lookup: icontains 35 35 }}}