2.2.txt 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. ============================================
  2. Django 2.2 release notes - UNDER DEVELOPMENT
  3. ============================================
  4. *Expected April 2019*
  5. Welcome to Django 2.2!
  6. These release notes cover the :ref:`new features <whats-new-2.2>`, as well as
  7. some :ref:`backwards incompatible changes <backwards-incompatible-2.2>` you'll
  8. want to be aware of when upgrading from Django 2.1 or earlier. We've
  9. :ref:`begun the deprecation process for some features
  10. <deprecated-features-2.2>`.
  11. See the :doc:`/howto/upgrade-version` guide if you're updating an existing
  12. project.
  13. Django 2.2 is designated as a :term:`long-term support release`. It will
  14. receive security updates for at least three years after its release. Support
  15. for the previous LTS, Django 1.11, will end in April 2020.
  16. Python compatibility
  17. ====================
  18. Django 2.2 supports Python 3.5, 3.6, and 3.7. We **highly recommend** and only
  19. officially support the latest release of each series.
  20. .. _whats-new-2.2:
  21. What's new in Django 2.2
  22. ========================
  23. Minor features
  24. --------------
  25. :mod:`django.contrib.admin`
  26. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  27. * ...
  28. :mod:`django.contrib.admindocs`
  29. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  30. * ...
  31. :mod:`django.contrib.auth`
  32. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  33. * ...
  34. :mod:`django.contrib.contenttypes`
  35. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  36. * ...
  37. :mod:`django.contrib.gis`
  38. ~~~~~~~~~~~~~~~~~~~~~~~~~
  39. * Added Oracle support for the
  40. :class:`~django.contrib.gis.db.models.functions.Envelope` function.
  41. :mod:`django.contrib.messages`
  42. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. * ...
  44. :mod:`django.contrib.postgres`
  45. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  46. * ...
  47. :mod:`django.contrib.redirects`
  48. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  49. * ...
  50. :mod:`django.contrib.sessions`
  51. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  52. * ...
  53. :mod:`django.contrib.sitemaps`
  54. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  55. * ...
  56. :mod:`django.contrib.sites`
  57. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  58. * ...
  59. :mod:`django.contrib.staticfiles`
  60. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  61. * ...
  62. :mod:`django.contrib.syndication`
  63. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  64. * ...
  65. Cache
  66. ~~~~~
  67. * ...
  68. CSRF
  69. ~~~~
  70. * ...
  71. Database backends
  72. ~~~~~~~~~~~~~~~~~
  73. * ...
  74. Email
  75. ~~~~~
  76. * ...
  77. File Storage
  78. ~~~~~~~~~~~~
  79. * ...
  80. File Uploads
  81. ~~~~~~~~~~~~
  82. * ...
  83. Forms
  84. ~~~~~
  85. * ...
  86. Generic Views
  87. ~~~~~~~~~~~~~
  88. * ...
  89. Internationalization
  90. ~~~~~~~~~~~~~~~~~~~~
  91. * ...
  92. Management Commands
  93. ~~~~~~~~~~~~~~~~~~~
  94. * ...
  95. Migrations
  96. ~~~~~~~~~~
  97. * ...
  98. Models
  99. ~~~~~~
  100. * ...
  101. Requests and Responses
  102. ~~~~~~~~~~~~~~~~~~~~~~
  103. * ...
  104. Serialization
  105. ~~~~~~~~~~~~~
  106. * ...
  107. Signals
  108. ~~~~~~~
  109. * ...
  110. Templates
  111. ~~~~~~~~~
  112. * ...
  113. Tests
  114. ~~~~~
  115. * The new :meth:`.SimpleTestCase.assertURLEqual` assertion checks for a given
  116. URL, ignoring the ordering of the query string.
  117. :meth:`~.SimpleTestCase.assertRedirects` uses the new assertion.
  118. URLs
  119. ~~~~
  120. * ...
  121. Validators
  122. ~~~~~~~~~~
  123. * ...
  124. .. _backwards-incompatible-2.2:
  125. Backwards incompatible changes in 2.2
  126. =====================================
  127. Database backend API
  128. --------------------
  129. * ...
  130. :mod:`django.contrib.gis`
  131. -------------------------
  132. * Support for GDAL 1.9 and 1.10 is dropped.
  133. Miscellaneous
  134. -------------
  135. * ...
  136. .. _deprecated-features-2.2:
  137. Features deprecated in 2.2
  138. ==========================
  139. Miscellaneous
  140. -------------
  141. * ...