summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2012-08-30 19:19:11 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2012-08-30 19:19:11 -0700
commit17d57275f991f001fbdbf4a85159244096f43499 (patch)
treedd7e4dcc8137cb6baaa855eb7b5927633a94f619 /docs
parentf698b973eaaf88bb5fb4bf263471305614d6c962 (diff)
Fixed #18883 -- added a missing self parameter in the docs
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/instances.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index b01abc1936..472ac96457 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -48,7 +48,7 @@ that, you need to :meth:`~Model.save()`.
2. Add a method on a custom manager (usually preferred)::
class BookManager(models.Manager):
- def create_book(title):
+ def create_book(self, title):
book = self.create(title=title)
# do something with the book
return book