mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user