summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/contrib/admindocs/views.py2
-rw-r--r--django/db/backends/base/schema.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admindocs/views.py b/django/contrib/admindocs/views.py
index a5e710835e..4f970e89b3 100644
--- a/django/contrib/admindocs/views.py
+++ b/django/contrib/admindocs/views.py
@@ -456,7 +456,7 @@ def extract_views_from_urlpatterns(urlpatterns, base="", namespace=None):
"""
Return a list of views from a list of urlpatterns.
- Each object in the returned list is a four-tuple:
+ Each object in the returned list is a 4-tuple:
(view_func, regex, namespace, name)
"""
views = []
diff --git a/django/db/backends/base/schema.py b/django/db/backends/base/schema.py
index 01b56151be..2742748049 100644
--- a/django/db/backends/base/schema.py
+++ b/django/db/backends/base/schema.py
@@ -1346,7 +1346,7 @@ class BaseDatabaseSchemaEditor:
for cases when a creation type is different to an alteration type
(e.g. SERIAL in PostgreSQL, PostGIS fields).
- Return a two-tuple of: an SQL fragment of (sql, params) to insert into
+ Return a 2-tuple of: an SQL fragment of (sql, params) to insert into
an ALTER TABLE statement and a list of extra (sql, params) tuples to
run once the field is altered.
"""