#7742: remove oldforms
-------------------------------------+--------------------------------------
Reporter: gwilson | Owner: gwilson
Status: assigned | Milestone: 1.0
Component: Core framework | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by gwilson):
Here's my commit message draft:
Removed oldforms and oldforms-related code:
* Removed `Manipulator`, `AutomaticManipulator`, and related classes.
* Removed oldforms specific bits from model fields:
* Removed `validator_list` argument in constructors.
* Removed the methods:
* `get_manipulator_field_names`
* `get_manipulator_field_objs`
* `get_manipulator_fields`
* `get_manipulator_new_data`
* `prepare_field_objs_and_params`
* `get_follow`
* Renamed `flatten_data` method to `get_string_value` for better
alignment with its use by the serialization framework, which was the only
remaining code using `flatten_data`.
* Removed oldforms methods from `django.db.models.Options` class:
`get_followed_related_objects`, `get_data_holders`, `get_follow`, and
`has_field_type`.
* Serialization framework
* `Serializer.get_string_value` now calls the model fields' renamed
`get_string_value` methods.
* Removed a special-casing of `models.DateTimeField` in
`core.serializers.base.Serializer.get_string_value` that's handled by
`django.db.models.fields.DateTimeField.get_string_value`.
* Introduced a SlugField form field for validation (refs #8040).
* Removed an oldforms-style model creation hack (refs #2160).
--
Ticket URL: <http://code.djangoproject.com/ticket/7742#comment:11>
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
-~----------~----~----~----~------~----~------~--~---