From 72231610b3b1211a7d38e6fde03e77faff741862 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 25 Nov 2012 19:31:30 +0100 Subject: [PATCH] [1.5.x] Fixed two typos. Backport of f89901d from master. --- docs/ref/templates/builtins.txt | 2 +- tests/modeltests/raw_query/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index a3d3d66f0d7..2258ce9716c 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1029,7 +1029,7 @@ by the context as to the current application. Don't forget to put quotes around the function path or pattern name! .. versionchanged:: 1.5 - The first paramater used not to be quoted, which was inconsistent with + The first parameter used not to be quoted, which was inconsistent with other template tags. Since Django 1.5, it is evaluated according to the usual rules: it can be a quoted string or a variable that will be looked up in the context. diff --git a/tests/modeltests/raw_query/models.py b/tests/modeltests/raw_query/models.py index 823fc76eee7..e7e221dc6ed 100644 --- a/tests/modeltests/raw_query/models.py +++ b/tests/modeltests/raw_query/models.py @@ -13,7 +13,7 @@ class Author(models.Model): # treated differently than fields. for k in kwargs: assert k in [f.attname for f in self._meta.fields], \ - "Author.__init__ got an unexpected paramater: %s" % k + "Author.__init__ got an unexpected parameter: %s" % k class Book(models.Model): title = models.CharField(max_length=255)