summaryrefslogtreecommitdiff
path: root/tests/djapp/models.py
diff options
context:
space:
mode:
authorIlya Pirogov <ilja.pirogov@gmail.com>2014-01-13 17:53:03 +0400
committerRaphaƫl Barrois <raphael.barrois@polytechnique.org>2014-01-21 23:11:06 +0100
commit9323fbeea374394833987cb710ac9becb7726a44 (patch)
tree881093f65a2606fae8d8aee061504583e9e5b86c /tests/djapp/models.py
parent402138768870871ef38b5c01ccaec957aa771d26 (diff)
downloadfactory-boy-9323fbeea374394833987cb710ac9becb7726a44.tar
factory-boy-9323fbeea374394833987cb710ac9becb7726a44.tar.gz
Added "prevent_signals" decorator/context manager
Diffstat (limited to 'tests/djapp/models.py')
-rw-r--r--tests/djapp/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/djapp/models.py b/tests/djapp/models.py
index e98279d..a65b50a 100644
--- a/tests/djapp/models.py
+++ b/tests/djapp/models.py
@@ -74,3 +74,7 @@ if Image is not None: # PIL is available
else:
class WithImage(models.Model):
pass
+
+
+class WithSignals(models.Model):
+ foo = models.CharField(max_length=20) \ No newline at end of file