summaryrefslogtreecommitdiff
path: root/testfixtures/tests/test_django/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'testfixtures/tests/test_django/models.py')
-rw-r--r--testfixtures/tests/test_django/models.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/testfixtures/tests/test_django/models.py b/testfixtures/tests/test_django/models.py
new file mode 100644
index 0000000..ff67456
--- /dev/null
+++ b/testfixtures/tests/test_django/models.py
@@ -0,0 +1,11 @@
+from django.db import models
+
+
+class OtherModel(models.Model):
+ pass
+
+
+class SampleModel(models.Model):
+ value = models.IntegerField()
+ not_editable = models.IntegerField(editable=False)
+ created = models.DateTimeField(auto_now_add=True)