#1049: custom manipulators don't work with generic views due to lack of
flatten_data
-----------------------------------+----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: reopened | Component: Documentation
Version: | Resolution:
Keywords: | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------------+----------------------------------------
Comment (by Gary Wilson <[EMAIL PROTECTED]>):
Replying to [comment:3 Michael Radziej <[EMAIL PROTECTED]>]:
> You simply define your {{{flatten_data}}} method for your custom
manipulator.
Yes, you could do that too, but it could also be done more generally.
Something like calling `field.flatten_data()` for each field in the
manipulator maybe.
--
Ticket URL: <http://code.djangoproject.com/ticket/1049#comment:4>
Django Code <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
-~----------~----~----~----~------~----~------~--~---