Changes between Initial Version and Version 1 of Ticket #2259, comment 29


Ignore:
Timestamp:
Nov 6, 2013, 4:40:50 AM (11 years ago)
Author:
Bouke Haarsma

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2259, comment 29

    initial v1  
    1 The proposed solution works for ModelAdmin forms, however it doesn't work with InlineModelAdmin as `get_readonly_fields` is passed the parent object, not the object regarding the InlineModelAdmin.
     1The proposed solution works for ModelAdmin forms, however it doesn't work with InlineModelAdmin as `get_readonly_fields` is passed the parent object, not the object regarding the InlineModelAdmin. Discussing with akaariair the solution could be found by setting `editable=models.EDITABLE_ON_INSERT`, using a fastened deprecation, as the default for primary key fields.
Back to Top