Hi, I'd like to be able to pass a Manipulator object into the generic views. See http://code.djangoproject.com/ticket/1563 for the patch.
The proposed change allows a very nice code pattern: - the view function handles fetching the required data and doing sanity checks, creates a manipulator and calls the generic view - the generic view handles all the ugly http and form processing, eventually calling the manipulator - the manipulator does all the customized field stuff (additional/modified fields) Sometimes this needs to pass special parameters to the initializer of the manipulator (e.g., a ChangeManipulator) must prepopulate default values dependent on the some other parameter of the view). The patch is quite small and innocent :-) Do you need any more arguments? Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers -~----------~----~----~----~------~----~------~--~---
