summaryrefslogtreecommitdiff
path: root/tests/transactions_regress/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/transactions_regress/models.py')
-rw-r--r--tests/transactions_regress/models.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/transactions_regress/models.py b/tests/transactions_regress/models.py
new file mode 100644
index 0000000000..a4b576c3ca
--- /dev/null
+++ b/tests/transactions_regress/models.py
@@ -0,0 +1,13 @@
+from django.db import models
+
+
+class Mod(models.Model):
+ fld = models.IntegerField()
+
+
+class M2mA(models.Model):
+ others = models.ManyToManyField('M2mB')
+
+
+class M2mB(models.Model):
+ fld = models.IntegerField()