summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2010-10-19 00:14:41 +0000
committerRamiro Morales <cramm0@gmail.com>2010-10-19 00:14:41 +0000
commite1182306fdbf629ce12edca42bddf7508e357366 (patch)
treea214a19c4168c99fe8cfdbcd80bbe0de2d5e8fa4
parent7baee5b95384f19b2f579046a344d294eb5f67c6 (diff)
Fixed a small typo introduced in r14139.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/db/backends/__init__.py2
-rw-r--r--django/db/backends/sqlite3/base.py2
-rw-r--r--tests/regressiontests/queries/models.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index 4883e0bfc8..54f5535853 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -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
diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py
index 5af1576189..339135c266 100644
--- a/django/db/backends/sqlite3/base.py
+++ b/django/db/backends/sqlite3/base.py
@@ -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
diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py
index 88022163f8..87e4228572 100644
--- a/tests/regressiontests/queries/models.py
+++ b/tests/regressiontests/queries/models.py
@@ -1342,7 +1342,7 @@ Using an empty generator expression as the rvalue for an "__in" lookup is legal
# 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()