mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fix wrong attribute name in [15156]. Thanks to Alex Gaynor for spotting this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -10,4 +10,4 @@ class Author(models.Model):
|
||||
class Book(models.Model):
|
||||
name = models.CharField(max_length=100)
|
||||
authors = models.ManyToManyField(Author, related_name='books')
|
||||
publisher = models.ForeignKey(Publisher, related_name='books')
|
||||
publisher = models.ForeignKey(Publisher, related_name='books', db_column="publisher_id_column")
|
||||
|
||||
Reference in New Issue
Block a user