#1049: custom manipulators don't work with generic views due to lack of
flatten_data
-----------------------------------+----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: reopened | Component: Metasystem
Version: | Resolution:
Keywords: | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------------+----------------------------------------
Changes (by Gary Wilson <[EMAIL PROTECTED]>):
* status: closed => reopened
* resolution: wontfix =>
* stage: Unreviewed => Accepted
Comment:
Actually, I'm going to re-open this in case someone would like to fix it
since I believe it is a bug. It can be closed once newforms is actually
getting used for the generic views. It seems possible that a
`flatten_data()` could be added to the `Manipulator` class, but it could
not just be the version from the `AutomaticManipulator` class since that
accesses attributes only available for `AutomaticManipulator` instances.
Perhaps it just needs to call `flatten_data` on each field.
If you would like to see this, then please submit a patch and tests.
I have added this as a Manipulator ticket to track on the FeatureGrouping
page.
--
Ticket URL: <http://code.djangoproject.com/ticket/1049#comment:2>
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
-~----------~----~----~----~------~----~------~--~---