Permalink
Browse files

Fixed two typos.

  • Loading branch information...
1 parent a5d4741 commit f89901dc0525f3ea1ca023aef4fd0862514bf550 @aaugustin aaugustin committed Nov 25, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 docs/ref/templates/builtins.txt
  2. +1 −1 tests/modeltests/raw_query/models.py
@@ -1040,7 +1040,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.
@@ -13,7 +13,7 @@ def __init__(self, *args, **kwargs):
# 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)

0 comments on commit f89901d

Please sign in to comment.