#10607: Use 'get_fieldset' to retieve fieldsets for inline related forms --------------------------------------+------------------------------------- Reporter: juriejan | Owner: juriejan Status: new | Milestone: Component: django.contrib.admin | Version: SVN Keywords: fieldsets inline related | Stage: Unreviewed Has_patch: 0 | --------------------------------------+------------------------------------- Previously the fieldsets for inline related forms where determined only once and then reused for the entire formset. This prevented me from overriding the 'get_fieldset' class in order to alter fieldsets as I wished for specific situations.
With my patch the 'get_fieldsets' method of the InlineModelAdmin class will be called for every form in the formset, allowing for an override that can customize behavior. (As I believe was the original intention with the 'get_fieldset' method) -- Ticket URL: <http://code.djangoproject.com/ticket/10607> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
