diff --git a/README.rst b/README.rst index 6c66fd4..6def656 100644 --- a/README.rst +++ b/README.rst @@ -186,13 +186,13 @@ There are currently 36 available fixers. +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Preserve the IPAddressField form field, now superseded by GenericIPAddressField** (:code:`fix_deletion_forms_fields_IPAddressField`) | django1.9 | 1.9 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Preserve the fallback to AppCommand.handle_app() method in django management commands.** (:code:`fix_deletion_django_core_management_base_AppCommand_handle_app`) | django1.9 | 1.9 | | +| **Preserve the fallback to AppCommand.handle_app() method in django management commands.** (:code:`fix_deletion_core_management_base_AppCommand_handle_app`) | django1.9 | 1.9 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Preserve contrib.sites.models.RequestSite alias.** (:code:`fix_deletion_contrib_sites_models_RequestSite`) | django1.9 | 1.9 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Preserve contrib.sites.models.get_current_site alias.** (:code:`fix_deletion_contrib_sites_models_get_current_site`) | django1.9 | 1.9 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Put a forward compatibility import path for django.urls, which replaces django.core.urlresolvers** (:code:`fix_incoming_django_urls`) | django1.10 | | 1.10 | +| **Put a forward compatibility import path for django.urls, which replaces django.core.urlresolvers** (:code:`fix_incoming_urls_submodule`) | django1.10 | | 1.10 | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Preserve the "future" templatetags library, with its improved `firstof` and `cycle` tags.** (:code:`fix_deletion_templatetags_future`) | django1.10 | 1.10 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -210,23 +210,23 @@ There are currently 36 available fixers. +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Preserve the "future" templatetags library, with its improved `firstof` and `cycle` tags.** (:code:`fix_behaviour_widget_build_attrs`) | django1.11 | 1.11 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Preserve RegexURLPattern and RegexURLResolver in django.urls, which disappeared due to DEP 0201.** (:code:`fix_deletion_django_urls_RegexURLPattern_RegexURLResolver`) | django2.0 | 2.0 | | +| **Preserve RegexURLPattern and RegexURLResolver in django.urls, which disappeared due to DEP 0201.** (:code:`fix_deletion_urls_RegexURLPattern_RegexURLResolver`) | django2.0 | 2.0 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Preserve django.core.urlresolvers module, now replaced by django.urls.** (:code:`fix_deletion_django_core_urlresolvers`) | django2.0 | 2.0 | | +| **Preserve django.core.urlresolvers module, now replaced by django.urls.** (:code:`fix_deletion_core_urlresolvers`) | django2.0 | 2.0 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Preserve the assignment_tag() helper, superseded by simple_tag().** (:code:`fix_deletion_django_template_library_assignment_tag`) | django2.0 | 2.0 | | +| **Preserve the assignment_tag() helper, superseded by simple_tag().** (:code:`fix_deletion_template_library_assignment_tag`) | django2.0 | 2.0 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Preserve the allow_lazy() utility, superseded by keep_lazy().** (:code:`fix_deletion_django_utils_functional_allow_lazy`) | django2.0 | 2.0 | | +| **Preserve the allow_lazy() utility, superseded by keep_lazy().** (:code:`fix_deletion_utils_functional_allow_lazy`) | django2.0 | 2.0 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Preserve the Context.has_key() utility, replaced by "in" operator use.** (:code:`fix_deletion_django_template_context_Context_has_key`) | django2.0 | 2.0 | | +| **Preserve the Context.has_key() utility, replaced by "in" operator use.** (:code:`fix_deletion_template_context_Context_has_key`) | django2.0 | 2.0 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Preserve the javascript_catalog() and json_catalog() i18n views, superseded by class-based views.** (:code:`fix_deletion_django_views_i18n_javascript_and_json_catalog`) | django2.0 | 2.0 | | +| **Preserve the javascript_catalog() and json_catalog() i18n views, superseded by class-based views.** (:code:`fix_deletion_views_i18n_javascript_and_json_catalog`) | django2.0 | 2.0 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Let "on_delete" parameter of ForeignKey and OneToOneField be optional, defaulting to CASCADE.** (:code:`fix_behaviour_django_deb_models_fields_related_ForeignKey_OneToOneField`) | django2.0 | 2.0 | | +| **Let "on_delete" parameter of ForeignKey and OneToOneField be optional, defaulting to CASCADE.** (:code:`fix_behaviour_db_models_fields_related_ForeignKey_OneToOneField`) | django2.0 | 2.0 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Keep accepting a 3-tuple (urlconf_module, app_name, namespace) as first argument of include(), instead of providing namespace argument directly to include()** (:code:`fix_behaviour_django_conf_urls_include_3tuples`) | django2.0 | 2.0 | | +| **Keep accepting a 3-tuple (urlconf_module, app_name, namespace) as first argument of include(), instead of providing namespace argument directly to include()** (:code:`fix_behaviour_conf_urls_include_3tuples`) | django2.0 | 2.0 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| **Preserve django.utils.translation.string_concat(), superseded by django.utils.text.format_lazy().** (:code:`fix_deletion_django_utils_translation_string_concat`) | django2.1 | 2.1 | | +| **Preserve django.utils.translation.string_concat(), superseded by django.utils.text.format_lazy().** (:code:`fix_deletion_utils_translation_string_concat`) | django2.1 | 2.1 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Restore the behaviour where the "renderer" parameter of Widget.render() may not be supported by subclasses.** (:code:`fix_behaviour_widget_render_forced_renderer`) | django2.1 | 2.1 | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+