Formatting fix for [3248]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-07-01 03:21:32 +00:00
parent 31eb140b5a
commit ec23edfc7f
1 changed files with 21 additions and 24 deletions

View File

@ -14,14 +14,11 @@ if not hasattr(__builtins__, 'set'):
LOOKUP_SEPARATOR = '__'
# The list of valid query types
QUERY_TERMS=(
'exact', 'iexact',
'contains', 'icontains',
'gt', 'gte', 'lt', 'lte',
'in',
QUERY_TERMS = (
'exact', 'iexact', 'contains', 'icontains',
'gt', 'gte', 'lt', 'lte', 'in',
'startswith', 'istartswith', 'endswith', 'iendswith',
'range', 'year', 'month', 'day',
'isnull'
'range', 'year', 'month', 'day', 'isnull',
)
# Size of each "chunk" for get_iterator calls.