Changes between Initial Version and Version 1 of Ticket #26502
- Timestamp:
- Apr 14, 2016, 6:39:14 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26502
- Property Summary Lookup of attribute 'id' on model inheritance models in InlineModelAdmin fails → Lookup of attribute 'id' on model inheritance models in InlineModelAdmin fails when using fk_name of parent model
-
Ticket #26502 – Description
initial v1 5 5 firstname = models.CharField(max_length=255, blank=True) 6 6 lastname = models.CharField(max_length=255) 7 person_something = models.ForeignKey(Something) 7 8 8 9 class Author(Person): 9 10 publisher = models.CharField(max_length=255) 11 author_something = models.ForeignKey(Something) 10 12 }}} 11 13 … … 15 17 class AuthorInline(admin.StackedInline): 16 18 model = Author 19 fk_name = 'person_something' 17 20 fields = ['id', 'lastname', 'publisher'] 18 21