forked from django/django
-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
I tried to update to Django 1.6 from 1.5.5. Mostly works, except when I try to do a search in User admin. The default searches for email iexact. Django gives me the 'Lookup type 'iexact' isn't supported.' error.
I am using djangoappengine and dbindexer. Dbindexer does load the __iexact field into the db. The
register_index(User, {
'username': 'iexact',
'email': 'iexact',
})
does seems to register. But, this version of Django 1.6.11 does not like the iexact.
Traceback:
File "/libs/django/core/handlers/base.py" in get_response
-
File "/libs/django/contrib/admin/options.py" in wrapper
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
-
File "/libs/django/utils/decorators.py" in _wrapped_view
return self.admin_site.admin_view(view)(_args, *_kwargs)
-
File "/libs/django/views/decorators/cache.py" in _wrapped_view_func
response = view_func(request, _args, *_kwargs)
-
File "/libs/django/contrib/admin/sites.py" in inner
response = view_func(request, _args, *_kwargs)
-
File "/libs/django/utils/decorators.py" in _wrapper
return view(request, _args, *_kwargs)
-
File "/libs/django/utils/decorators.py" in _wrapped_view
return bound_func(_args, *_kwargs)
-
File "/libs/django/utils/decorators.py" in bound_func
response = view_func(request, _args, *_kwargs)
-
File "/libs/django/contrib/admin/options.py" in changelist_view
return func(self, _args2, *_kwargs2)
-
File "/libs/django/db/models/query.py" in len
'selection_note': _('0 of %(cnt)s selected') % {'cnt': len(cl.result_list)},
-
File "/libs/django/db/models/query.py" in _fetch_all
self._fetch_all()
-
File "/libs/django/db/models/query.py" in iterator
self._result_cache = list(self.iterator())
-
File "/libs/djangotoolbox/db/basecompiler.py" in results_iter
for row in compiler.results_iter():
-
File "/libs/djangotoolbox/db/basecompiler.py" in build_query
results = self.build_query(fields).fetch(
-
File "/libs/djangotoolbox/db/basecompiler.py" in add_filters
query.add_filters(self.query.where)
-
File "/libs/djangoappengine/db/compiler.py" in _func
self.add_filter(field, lookup_type, self._negated, value)
-
File "/libs/djangoappengine/db/compiler.py" in add_filter
return func(_args, *_kwargs)
-
lookup_type)
Exception Type: DatabaseError at /admin/auth/user/
Exception Value: Lookup type 'iexact' isn't supported.
Thanks
Metadata
Metadata
Assignees
Labels
No labels