summaryrefslogtreecommitdiff
path: root/factory/declarations.py
diff options
context:
space:
mode:
Diffstat (limited to 'factory/declarations.py')
-rw-r--r--factory/declarations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/factory/declarations.py b/factory/declarations.py
index ddc6c78..4d6e767 100644
--- a/factory/declarations.py
+++ b/factory/declarations.py
@@ -309,7 +309,7 @@ class PostGeneration(PostGenerationDeclaration):
self.function(obj, create, extracted, **kwargs)
-def post_declaration(extract_prefix=None):
+def post_generation(extract_prefix=None):
def decorator(fun):
return PostGeneration(fun, extract_prefix=extract_prefix)
return decorator