• Gary Wilson Jr's avatar
    Removed oldforms, validators, and related code: · c2ba59fc
    Gary Wilson Jr yazdı
     * Removed `Manipulator`, `AutomaticManipulator`, and related classes.
     * Removed oldforms specific bits from model fields:
       * Removed `validator_list` and `core` arguments from 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 `value_to_string` 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`.
     * Removed oldforms-admin specific options from `django.db.models.fields.related` classes: `num_in_admin`, `min_num_in_admin`, `max_num_in_admin`, `num_extra_on_change`, and `edit_inline`.
     * Serialization framework
       * `Serializer.get_string_value` now calls the model fields' renamed `value_to_string` 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.value_to_string`.
     * Removed `django.core.validators`:
       * Moved `ValidationError` exception to `django.core.exceptions`.
       * For the couple places that were using validators, brought over the necessary code to maintain the same functionality.
     * Introduced a SlugField form field for validation and to compliment the SlugField model field (refs #8040).
     * Removed an oldforms-style model creation hack (refs #2160).
    
    git-svn-id: http://code.djangoproject.com/svn/django/trunk@8616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
    c2ba59fc
Adı
Son kayıt (commit)
Son güncelleme
..
admin_ordering Loading commit data...
admin_registration Loading commit data...
admin_scripts Loading commit data...
admin_views Loading commit data...
admin_widgets Loading commit data...
auth_backends Loading commit data...
backends Loading commit data...
bug639 Loading commit data...
cache Loading commit data...
comment_tests Loading commit data...
context_processors Loading commit data...
datastructures Loading commit data...
datatypes Loading commit data...
dateformat Loading commit data...
datetime_safe Loading commit data...
db_typecasts Loading commit data...
decorators Loading commit data...
defaultfilters Loading commit data...
dispatch Loading commit data...
extra_regress Loading commit data...
file_storage Loading commit data...
file_uploads Loading commit data...
fixtures_regress Loading commit data...
forms Loading commit data...
get_or_create_regress Loading commit data...
httpwrappers Loading commit data...
humanize Loading commit data...
i18n Loading commit data...
initial_sql_regress Loading commit data...
inline_formsets Loading commit data...
m2m_through_regress Loading commit data...
mail Loading commit data...
many_to_one_regress Loading commit data...
max_lengths Loading commit data...
middleware Loading commit data...
model_fields Loading commit data...
model_inheritance_regress Loading commit data...
model_inheritance_select_related Loading commit data...
model_regress Loading commit data...
modeladmin Loading commit data...
null_fk Loading commit data...
null_queries Loading commit data...
one_to_one_regress Loading commit data...
pagination_regress Loading commit data...
queries Loading commit data...
requests Loading commit data...
reverse_single_related Loading commit data...
select_related_regress Loading commit data...
serializers_regress Loading commit data...
string_lookup Loading commit data...
syndication Loading commit data...
templates Loading commit data...
test_client_regress Loading commit data...
test_utils Loading commit data...
text Loading commit data...
urlpatterns_reverse Loading commit data...
utils Loading commit data...
views Loading commit data...
__init__.py Loading commit data...