Changes between Version 2 and Version 3 of Ticket #15602, comment 12


Ignore:
Timestamp:
Jan 22, 2015, 8:49:31 PM (9 years ago)
Author:
David Isaacson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15602, comment 12

    v2 v3  
    1 I've done some additional research, and the problem actually goes much deeper than this.  Not only do the results of `get_readonly_fields` get passed to the `InlineAdminFormSet` object and others in `django.contrib.admin.helpers` that actually render the formset (including its readonly fields), they also get passed into the formset validation logic.
     1I've done some additional research, and the problem actually goes much deeper than this.  Not only do the results of `get_readonly_fields` get passed to the `InlineAdminFormSet` object and others in `django.contrib.admin.helpers` that actually render the formset (including the readonly fields), they also get passed into the formset validation logic.
    22
    33The way formsets work is to take a single form class and instantiate it multiple times; an inline model formset uses a constructed `ModelForm` subclass.  (see `django.forms.models.modelformset_factory`) 
Back to Top