Skip to content

Commit

Permalink
Fixed a small typo introduced in r14139.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
ramiro committed Oct 19, 2010
1 parent 7baee5b commit e118230
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion django/db/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class BaseDatabaseFeatures(object):
requires_explicit_null_ordering_when_grouping = False

# Is there a 1000 item limit on query parameters?
supports_1000_query_paramters = True
supports_1000_query_parameters = True

# Can an object have a primary key of 0? MySQL says No.
allows_primary_key_0 = True
Expand Down
2 changes: 1 addition & 1 deletion django/db/backends/sqlite3/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
can_use_chunked_reads = False
test_db_allows_multiple_connections = False
supports_unspecified_pk = True
supports_1000_query_paramters = False
supports_1000_query_parameters = False

def _supports_stddev(self):
"""Confirm support for STDDEV and related stats functions
Expand Down
2 changes: 1 addition & 1 deletion tests/regressiontests/queries/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ def __unicode__(self):

# Sqlite 3 does not support passing in more than 1000 parameters except by
# changing a parameter at compilation time.
if connection.features.supports_1000_query_paramters:
if connection.features.supports_1000_query_parameters:
__test__["API_TESTS"] += """
Bug #14244: Test that the "in" lookup works with lists of 1000 items or more.
>>> Number.objects.all().delete()
Expand Down

0 comments on commit e118230

Please sign in to comment.