Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #18883 -- added a missing self parameter in the docs

  • Loading branch information...
commit 17d57275f991f001fbdbf4a85159244096f43499 1 parent f698b97
@alex alex authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/models/instances.txt
2  docs/ref/models/instances.txt
@@ -48,7 +48,7 @@ that, you need to :meth:``.
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

2 comments on commit 17d5727


good job


very good

Please sign in to comment.
Something went wrong with that request. Please try again.