nyergler / nested-formset

Nest Django formsets for multi-level editing.
BSD 3-Clause "New" or "Revised" License
87 stars 21 forks source link

Added fields attribute to class-based-views #20

Closed narenchoudhary closed 8 years ago

narenchoudhary commented 8 years ago

Prior to v1.8, Django rendered all fields of the model if none of fields or exclude attributes were mentioned. Django 1.8 makes it compulsory to set either fields attribute or exclude attribute to indicate which fields in the model should be used. If both of these attributes are omitted, ImproperlyConfigured exception is raised.
https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/#selecting-the-fields-to-use