diff options
author | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2012-04-15 10:46:08 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2012-04-15 10:46:08 +0200 |
commit | f87f03b583c22e810dced73ed277910d9bc8232a (patch) | |
tree | ae1684e3ec09d4cbe79df336924cc134e7a1e146 /factory/declarations.py | |
parent | f8a93d6599b71123789541adf9658cd095402f0f (diff) | |
download | factory-boy-f87f03b583c22e810dced73ed277910d9bc8232a.tar factory-boy-f87f03b583c22e810dced73ed277910d9bc8232a.tar.gz |
Rename post_declaration to post_generation.
Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Diffstat (limited to 'factory/declarations.py')
-rw-r--r-- | factory/declarations.py | 2 |
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 |