summaryrefslogtreecommitdiff
path: root/tests/introspection/models.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-01-10 20:27:30 +0100
committerClaude Paroz <claude@2xlibre.net>2015-01-12 19:58:47 +0100
commit4c413e231cfe788de6e371567f395c8ccbd26103 (patch)
tree8b2100a8d9d650546615c8c1cd3b8f52251690a3 /tests/introspection/models.py
parentb75c707943e159b80c179c538721406bbfb8b120 (diff)
downloaddjango-4c413e231cfe788de6e371567f395c8ccbd26103.tar.gz
Fixed #17785 -- Preferred column names in get_relations introspection
Thanks Thomas Güttler for the report and the initial patch, and Tim Graham for the review.
Diffstat (limited to 'tests/introspection/models.py')
-rw-r--r--tests/introspection/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/introspection/models.py b/tests/introspection/models.py
index 12264cfbd5..3929509934 100644
--- a/tests/introspection/models.py
+++ b/tests/introspection/models.py
@@ -24,6 +24,7 @@ class Reporter(models.Model):
class Article(models.Model):
headline = models.CharField(max_length=100)
pub_date = models.DateField()
+ body = models.TextField(default='')
reporter = models.ForeignKey(Reporter)
response_to = models.ForeignKey('self', null=True)