summaryrefslogtreecommitdiff
path: root/parts/django/tests/regressiontests/initial_sql_regress/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'parts/django/tests/regressiontests/initial_sql_regress/models.py')
-rw-r--r--parts/django/tests/regressiontests/initial_sql_regress/models.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/parts/django/tests/regressiontests/initial_sql_regress/models.py b/parts/django/tests/regressiontests/initial_sql_regress/models.py
new file mode 100644
index 0000000..9f91802
--- /dev/null
+++ b/parts/django/tests/regressiontests/initial_sql_regress/models.py
@@ -0,0 +1,11 @@
+"""
+Regression tests for initial SQL insertion.
+"""
+
+from django.db import models
+
+class Simple(models.Model):
+ name = models.CharField(max_length = 50)
+
+# NOTE: The format of the included SQL file for this test suite is important.
+# It must end with a trailing newline in order to test the fix for #2161.