Changeset 7252
- Timestamp:
- 03/16/08 11:17:57 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/queryset-refactor/django/db/models/sql/where.py
r7247 r7252 138 138 return ('%s IS %sNULL' % (field_sql, (not value and 'NOT ' or '')), 139 139 params) 140 elif lookup_type in'search':140 elif lookup_type == 'search': 141 141 return (connection.ops.fulltext_search_sql(field_sql), params) 142 142 elif lookup_type in ('regex', 'iregex'):
