{ "info": { "author": "Pascal Chambon & others", "author_email": "pythoniks@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. NOTE: only edit README.in, and use generate_readme.py to enrich it with the table of fixers\n\n\n=====================\ndjango-compat-patcher\n=====================\n\n *Compatibility Matters*\n\n\nDCP is a companion application which adds backward/forward compatibility patches to Django, so that your app ecosystem doesn't get broken by trivial changes made to the core of the framework. You can thus mix bleeding-edge applications with others that are still stuck at much older Django versions.\n\nTo know more about the whole concept of Compat Patchers, see the documentation of the underlying `Compat Patcher Core `_.\n\nNote that DCP is aimed at project maintainers. If you are developing a reusable Django application, you can't expect all your users to integrate DCP as well. In this case, to support a wide range of Django versions, you should rather use a toolkit like `Django-compat `_. You may think of DCP as a \"runtime 2to3 for Django', whereas Django-Compat is rather a \"*six* module for Django\".\n\nFeel free to contribute new fixers, for backwards or forwards compatibility, depending on the compatibility troubles you encounter on your own projects. See `docs/django_deprecation_timeline_notes.rst` for a list of breaking changes in Django history, and their current status in DCP.\n\n\n\nHow to setup\n==================\n\n\nDjango-compat-patcher is currently tested on python2.7/3.4/3.5/3.6/3.7, with Django versions 1.8/1.9/1.10/1.11/2.0/2.1/2.2, where these combinations make sense (e.g. Django2+ dropped support for Python2).\n\nAdd :code:`django-compat-patcher` to your pip requirements, install it, and then activate it with::\n \n import django_compat_patcher\n django_compat_patcher.patch()\n \nThis code should be placed before any use of Django (eg. in your :code:`manage.py` or your :code:`wsgi.py` script), but after the :code:`DJANGO_SETTINGS_MODULE` environment variable has been set.\n\nIn particular, some fixers only work if they are applied before the loading of INSTALLED_APPS (so before django.setup() gets called).\n\nThe Django settings of your project are not altered by compatibility shims, so they should be kept up-to-date with your installed Django version (eg. now use `TEMPLATES`, `MIDDLEWARE`, and not deprecated settings...). In particular, always put real package names in INSTALLED_APPS, not their potential \"import aliases\".\n\n\nDjango settings\n====================\n\nBy default, DCP emits logs and warnings when patching the code, and applies all \"relevant\" fixers,\ni.e all that support your currently installed django version.\n\nThis behaviour can be customized via the Django settings below.\n\nNote however, that some fixers depend on other fixers, so it's advised to be consistent and always include contiguous series of fixers around your current version (ex. if you use Django1.11, apply fixers from Django1.8 up to Django1.11, or up to Django2.X if yo want some forward compatibility as well). DCP filters out, by himself, fixers which are useless for your Django version.\n\nYou may provide a \"settings\" dictionary directly to the patch() method, in which case your DCP django settings will be completely ignored (only library defaults will be used as fallbacks)::\n\n django_compat_patcher.patch(settings=dict(DCP_INCLUDE_FIXER_IDS=[\"my_fixer_id\"]))\n\nNote that exclusion filters have precedence over inclusion ones.\n\n\nDCP_INCLUDE_FIXER_IDS\n*********************\n\nList of fixer identifiers to include. If :code:`\"*\"` is used, then all fixers are included.\n\nIn rare case of name conflicts when using several registries at once, you may use qualified qualified fixer names like \"fixer_family|fixer_id\".\n\n| **Default:** :code:`\"*\"`\n| **Type:** List of strings, or :code:`\"*\"`\n| **Example:** :code:`DCP_INCLUDE_FIXER_IDS = ['fix_deletion_templatetags_future_url']`\n\n\nDCP_INCLUDE_FIXER_FAMILIES\n**************************\n\nList of fixer families to include. If :code:`\"*\"` is used, then all families are included.\n\nNote: If you want to include only specific families, remember to replace the value :code:`\"*\" from :code:`DCP_INCLUDE_FIXER_IDS` by, for example, an empty list.\n\n| **Default:** :code:`[]`\n| **Type:** List of strings, or :code:`\"*\"`\n| **Choices:** :code:`(\"djangoX.Y\")` where :code:`X` and :code:`Y` are respectively the major and minor versions\n| **Example:** :code:`DCP_INCLUDE_FIXER_FAMILIES = [\"django1.9\"]`\n\n\nDCP_EXCLUDE_FIXER_IDS\n*********************\n\nList of fixer identifiers to exclude. If :code:`\"*\"` is used, then all fixers are excluded.\n\nIn rare case of name conflicts when using several registries at once, you may use qualified qualified fixer names like \"fixer_family|fixer_id\".\n\nNote: The \"EXCLUDE\" filters are applied AFTER the \"INCLUDE\" ones, and so take precedence.\n\n| **Default:** :code:`[]`\n| **Type:** List of strings, or :code:`\"*\"`\n| **Example:** :code:`DCP_EXCLUDE_FIXER_IDS = ['fix_deletion_templatetags_future_url']`\n\n\nDCP_EXCLUDE_FIXER_FAMILIES\n**************************\n\nList of fixer families to exclude. If :code:`\"*\"` is used, then all families are excluded.\n\nNote: The \"EXCLUDE\" filters are applied AFTER the \"INCLUDE\" ones, and so take precedence.\n\n| **Default:** :code:`[]`\n| **Type:** List of strings, or :code:`\"*\"`\n| **Choices:** :code:`(\"djangoX.Y\")` where :code:`X` and :code:`Y` are respectively the major and minor versions\n| **Example:** :code:`DCP_EXCLUDE_FIXER_FAMILIES = [\"django1.6\", \"django1.9\"]`\n\n\nDCP_PATCH_INJECTED_OBJECTS\n***************************\n\nBy default, the patcher adds a :code:`__dcp_injected__ = True` attribute to the injected objects (callables, classes, modules, attributes...), when possible, to differentiate them from original ones. Set this setting to True to automatically choose the attribute name, or False to disable the feature.\n\n| **Default:** :code:`\"__dcp_injected__\"`\n| **Type:** Str (or Boolean)\n| **Example:** :code:`DCP_PATCH_INJECTED_OBJECTS = False`\n\n\nDCP_ENABLE_WARNINGS\n***************************\n\nIf True, compatibility shims emit python warnings (:code:`warnings.warn(...)`) when they are imported/used,\nto help detect deprecated code. These warnings are mostly subclasses of :code:`DeprecationWarning` (ex. :code:`RemovedInDjango19Warning`).\n\nOnce emitted, the handling of warnings depends on your setup (python command line flags, logging config...), see the `official doc on warnings `_ for more information.\n\n| **Default:** :code:`True`\n| **Type:** Boolean\n| **Example:** :code:`DCP_ENABLE_WARNINGS = False`\n\n\nDCP_LOGGING_LEVEL\n***************************\n\nThe patch() system of DCP can output to *STDERR* which fixers are getting applied, and provide debug information (ex. for which reason a specific fixer was discarded).\n\nThis setting sets the logging level of that information stream, which is typically only viewed at django startup. A value :code:`None` disables DCP logging entirely.\n\nNote that DCP does NOT actually use stdlib loggers, because it mostly performs operations before Django logging has been setup (ex. using the LOGGING setting), so log entries would most probably get discarded.\n\n| **Default:** :code:`\"INFO\"`\n| **Type:** Logging level string, or None\n| **Example:** :code:`DCP_LOGGING_LEVEL = \"DEBUG\"`\n\n\n\nTable of fixers\n===============\n\nThere are currently 36 available fixers.\n\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| Fixer and its ID | Fixer family | Min version | Max version |\n+=================================================================================================================================================================================================================================+=================================================================================================================================================================================================================================+=================================================================================================================================================================================================================================+=================================================================================================================================================================================================================================+\n| **Preserve the request.raw_post_data alias for request.body.** (:code:`fix_deletion_http_request_HttpRequest_raw_post_data`) | django1.6 | 1.6 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Keep 'django.contrib.comments' as an import alias for the now external package 'django_comments' (django-contrib-comments on pypi) ; the latter must be installed separately.** (:code:`fix_outsourcing_contrib_comments`) | django1.8 | 1.8 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the get_formsets method of ModelAdmin** (:code:`fix_deletion_contrib_admin_ModelAdmin_get_formsets`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve contrib.sites.models.RequestSite alias.** (:code:`fix_deletion_contrib_sites_models_RequestSite`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve contrib.sites.models.get_current_site alias.** (:code:`fix_deletion_contrib_sites_models_get_current_site`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the `request.REQUEST` attribute, merging parameters from GET** (:code:`fix_deletion_core_handlers_wsgi_WSGIRequest_REQUEST`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **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 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the IPAddressField form field, now superseded by GenericIPAddressField** (:code:`fix_deletion_forms_fields_IPAddressField`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the `ssi` tag in the `future` templatetags library.** (:code:`fix_deletion_templatetags_future_ssi`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the `url` tag in the `future` templatetags library.** (:code:`fix_deletion_templatetags_future_url`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the MergeDict util datastructure** (:code:`fix_deletion_utils_datastructures_MergeDict`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the SortedDict util datastructure** (:code:`fix_deletion_utils_datastructures_SortedDict`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the dictconfig util file** (:code:`fix_deletion_utils_dictconfig`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve utils.functional.memoize() utility** (:code:`fix_deletion_utils_functional_memoize`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the importlib util file** (:code:`fix_deletion_utils_importlib`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the tzinfo util file** (:code:`fix_deletion_utils_tzinfo`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the unittest util file** (:code:`fix_deletion_utils_unittest`) | django1.9 | 1.9 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Support passing views to url() as dotted strings instead of view objects.** (:code:`fix_behaviour_conf_urls_url`) | django1.10 | 1.10 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the ability to call urlresolver on dotted string view, instead of explicit view name.** (:code:`fix_behaviour_core_urlresolvers_reverse_with_prefix`) | django1.10 | 1.10 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve support for a single '=' sign in {% if %} tag.** (:code:`fix_behaviour_template_smartif_OPERATORS_equals`) | django1.10 | 1.10 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Restore support for dotted-string view parameter in RegexURLPattern, instead passing a view object.** (:code:`fix_behaviour_urls_resolvers_RegexURLPattern`) | django1.10 | 1.10 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the patterns() builder for django urls.** (:code:`fix_deletion_conf_urls_patterns`) | django1.10 | 1.10 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the \"ssi\" default template tag.** (:code:`fix_deletion_template_defaulttags_ssi`) | django1.10 | 1.10 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the \"future\" templatetags library, with its improved `firstof` and `cycle` tags.** (:code:`fix_deletion_templatetags_future`) | django1.10 | 1.10 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Put a forward compatibility import path for django.urls, which replaces django.core.urlresolvers** (:code:`fix_incoming_urls_submodule`) | django1.10 | | 1.10 |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the \"future\" templatetags library, with its improved `firstof` and `cycle` tags.** (:code:`fix_behaviour_widget_build_attrs`) | django1.11 | 1.11 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **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 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **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 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve django.core.urlresolvers module, now replaced by django.urls.** (:code:`fix_deletion_core_urlresolvers`) | django2.0 | 2.0 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the Context.has_key() utility, replaced by \"in\" operator use.** (:code:`fix_deletion_template_context_Context_has_key`) | django2.0 | 2.0 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the assignment_tag() helper, superseded by simple_tag().** (:code:`fix_deletion_template_library_assignment_tag`) | django2.0 | 2.0 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve RegexURLPattern and RegexURLResolver in django.urls, which disappeared due to DEP 0201.** (:code:`fix_deletion_urls_RegexURLPattern_RegexURLResolver`) | django2.0 | 2.0 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve the allow_lazy() utility, superseded by keep_lazy().** (:code:`fix_deletion_utils_functional_allow_lazy`) | django2.0 | 2.0 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **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 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **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 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| **Preserve django.utils.translation.string_concat(), superseded by django.utils.text.format_lazy().** (:code:`fix_deletion_utils_translation_string_concat`) | django2.1 | 2.1 | |\n+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pakal/django-compat-patcher", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-compat-patcher", "package_url": "https://pypi.org/project/django-compat-patcher/", "platform": "any", "project_url": "https://pypi.org/project/django-compat-patcher/", "project_urls": { "Homepage": "https://github.com/pakal/django-compat-patcher" }, "release_url": "https://pypi.org/project/django-compat-patcher/0.7.1/", "requires_dist": null, "requires_python": "", "summary": "A monkey-patching system to ease the transition between Django versions.", "version": "0.7.1" }, "last_serial": 5435657, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "f738cf45f1b0c26ae32b5ad7b3aa39d7", "sha256": "341322b85c95dbd6b17ae6fd20fe20159fb1fcc8308021a0661042ce173062ac" }, "downloads": -1, "filename": "django-compat-patcher-0.2.tar.gz", "has_sig": false, "md5_digest": "f738cf45f1b0c26ae32b5ad7b3aa39d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38745, "upload_time": "2017-01-07T18:57:58", "url": "https://files.pythonhosted.org/packages/ff/2e/2e547602c5fd0da73bcdf1b02d49777dceda4e0b9c484a8de0daa1b3e244/django-compat-patcher-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "c8aaf091b79cefc1ff4c37ede8f2c000", "sha256": "4c20fe527aa875a43325ba772573c268d182a3f77e3fb85590adb00e5d2e32c1" }, "downloads": -1, "filename": "django-compat-patcher-0.3.tar.gz", "has_sig": false, "md5_digest": "c8aaf091b79cefc1ff4c37ede8f2c000", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39025, "upload_time": "2017-05-19T14:35:57", "url": "https://files.pythonhosted.org/packages/cd/70/2918b66065302cf688e71d25be15f3c179218e68b33f54829328e457f5ae/django-compat-patcher-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "436d73ff9f283613b08bda468a43be7a", "sha256": "01fea779648331f04a3b8ceb6f6f26bf8db4fc72e5462f0f6a8add24da75db92" }, "downloads": -1, "filename": "django-compat-patcher-0.4.tar.gz", "has_sig": false, "md5_digest": "436d73ff9f283613b08bda468a43be7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39904, "upload_time": "2019-01-19T08:58:14", "url": "https://files.pythonhosted.org/packages/39/07/2c8fdf06850667484d5bce54ad2ed087bcec28b46a24bd543224918732ae/django-compat-patcher-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "da2d2ba114673ef720efa7266377bd7b", "sha256": "1f897df4a7a8868d9bf9c73456f2c4328b8b9955d2f79da2ce13085f07d988ab" }, "downloads": -1, "filename": "django-compat-patcher-0.5.zip", "has_sig": false, "md5_digest": "da2d2ba114673ef720efa7266377bd7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 85776, "upload_time": "2019-05-07T12:45:48", "url": "https://files.pythonhosted.org/packages/81/ed/36a1f18c4d7e1cdb1dbc25d4869f64ab0e904eb9a857159f7d50664e2ec8/django-compat-patcher-0.5.zip" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "eb2a6b33e3166e3aa43f8aadf7075b46", "sha256": "7e3d391d42d840900dd4883339eadfdf9835cd332f08719c9d406494e2b220a0" }, "downloads": -1, "filename": "django_compat_patcher-0.6-py2-none-any.whl", "has_sig": false, "md5_digest": "eb2a6b33e3166e3aa43f8aadf7075b46", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 113204, "upload_time": "2019-05-09T12:02:26", "url": "https://files.pythonhosted.org/packages/d9/aa/f4c9fe09aed6aa138b54e5302393b6bbcf231ec818f4fe1f5bf0a00e1fb5/django_compat_patcher-0.6-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "32412788fc7e82755f928206fb2a02d8", "sha256": "7135bb6d0a15ae2e77cece33d71638fb884fc9d707a64539312cfc56c8a41aee" }, "downloads": -1, "filename": "django_compat_patcher-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "32412788fc7e82755f928206fb2a02d8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 113158, "upload_time": "2019-05-09T12:10:12", "url": "https://files.pythonhosted.org/packages/02/c4/6cf70211720fcee39480882f2c3ff1b0ea8a55f3362d9ff09de35109015a/django_compat_patcher-0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a7c7af92b3969af1cd5c2f2dbf6fa37e", "sha256": "d7b2db02dcb5b51c7be192fd9e1131b54e43c05d115be8c55c12796ad9e5308f" }, "downloads": -1, "filename": "django-compat-patcher-0.6.tar.gz", "has_sig": false, "md5_digest": "a7c7af92b3969af1cd5c2f2dbf6fa37e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 58905, "upload_time": "2019-05-09T12:02:29", "url": "https://files.pythonhosted.org/packages/ac/4b/59ceadd0c1e023a9a4b32003176cba5dffd8f2cab37483a8d181ae0814e2/django-compat-patcher-0.6.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "3b3d8d8c9c5be949c07ac495b40ac648", "sha256": "78904113e69274257e7ed8e7d00182adb555c42dc7a47f169a46bd241d17b59f" }, "downloads": -1, "filename": "django-compat-patcher-0.7.1.tar.gz", "has_sig": false, "md5_digest": "3b3d8d8c9c5be949c07ac495b40ac648", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 59869, "upload_time": "2019-06-22T21:00:12", "url": "https://files.pythonhosted.org/packages/05/5a/ae0c1c17117e55ac22efb9423dfe5eb156531086f7bc47b714ae295afcee/django-compat-patcher-0.7.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b3d8d8c9c5be949c07ac495b40ac648", "sha256": "78904113e69274257e7ed8e7d00182adb555c42dc7a47f169a46bd241d17b59f" }, "downloads": -1, "filename": "django-compat-patcher-0.7.1.tar.gz", "has_sig": false, "md5_digest": "3b3d8d8c9c5be949c07ac495b40ac648", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 59869, "upload_time": "2019-06-22T21:00:12", "url": "https://files.pythonhosted.org/packages/05/5a/ae0c1c17117e55ac22efb9423dfe5eb156531086f7bc47b714ae295afcee/django-compat-patcher-0.7.1.tar.gz" } ] }