Django

Code

Changeset 7252

Show
Ignore:
Timestamp:
03/16/08 11:17:57 (10 months ago)
Author:
mtredinnick
Message:

queryset-refactor: Typo fix.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/queryset-refactor/django/db/models/sql/where.py

    r7247 r7252  
    138138            return ('%s IS %sNULL' % (field_sql, (not value and 'NOT ' or '')), 
    139139                    params) 
    140         elif lookup_type in 'search': 
     140        elif lookup_type == 'search': 
    141141            return (connection.ops.fulltext_search_sql(field_sql), params) 
    142142        elif lookup_type in ('regex', 'iregex'):