Changes between Initial Version and Version 1 of Ticket #26502


Ignore:
Timestamp:
Apr 14, 2016, 6:39:14 AM (8 years ago)
Author:
Waldemar Hamm
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26502

    • Property Summary Lookup of attribute 'id' on model inheritance models in InlineModelAdmin failsLookup of attribute 'id' on model inheritance models in InlineModelAdmin fails when using fk_name of parent model
  • Ticket #26502 – Description

    initial v1  
    55    firstname = models.CharField(max_length=255, blank=True)
    66    lastname = models.CharField(max_length=255)
     7    person_something = models.ForeignKey(Something)
    78
    89class Author(Person):
    910    publisher = models.CharField(max_length=255)
     11    author_something = models.ForeignKey(Something)
    1012}}}
    1113
     
    1517class AuthorInline(admin.StackedInline):
    1618    model = Author
     19    fk_name = 'person_something'
    1720    fields = ['id', 'lastname', 'publisher']
    1821
Back to Top