summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference.rst b/docs/reference.rst
index 2516936..43433e0 100644
--- a/docs/reference.rst
+++ b/docs/reference.rst
@@ -1192,7 +1192,7 @@ For instance, a :class:`PostGeneration` hook is declared as ``post``:
model = SomeObject
@post_generation
- def post(self, create, extracted, **kwargs):
+ def post(obj, create, extracted, **kwargs):
obj.set_origin(create)
.. OHAI_VIM**