#8999: ModelAdmin.get_form and get_formset will overwrite self.exclude with a kwargs exclude -------------------------------------------+-------------------------------- Reporter: seanl | Owner: jkocherhans Status: assigned | Milestone: Component: django.contrib.admin | Version: 1.0 Resolution: | Keywords: Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -------------------------------------------+-------------------------------- Changes (by jkocherhans):
* owner: nobody => jkocherhans * status: new => assigned Comment: I don't think we should be combining anything here. If someone passes {{{exclude}}} to {{{get_form}}}, that value should override {{{self.exclude}}}. If someone wants different behavior, they can override the {{{get_form}}} method. I need to think about this a bit more in the context of a few other related issues though. -- Ticket URL: <http://code.djangoproject.com/ticket/8999#comment:5> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---