2.2.txt 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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. * Added SpatiaLite support for the :lookup:`coveredby` and :lookup:`covers`
  42. lookups.
  43. :mod:`django.contrib.messages`
  44. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  45. * ...
  46. :mod:`django.contrib.postgres`
  47. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  48. * ...
  49. :mod:`django.contrib.redirects`
  50. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  51. * ...
  52. :mod:`django.contrib.sessions`
  53. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  54. * ...
  55. :mod:`django.contrib.sitemaps`
  56. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57. * ...
  58. :mod:`django.contrib.sites`
  59. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  60. * ...
  61. :mod:`django.contrib.staticfiles`
  62. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  63. * ...
  64. :mod:`django.contrib.syndication`
  65. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  66. * ...
  67. Cache
  68. ~~~~~
  69. * ...
  70. CSRF
  71. ~~~~
  72. * ...
  73. Database backends
  74. ~~~~~~~~~~~~~~~~~
  75. * ...
  76. Email
  77. ~~~~~
  78. * ...
  79. File Storage
  80. ~~~~~~~~~~~~
  81. * ...
  82. File Uploads
  83. ~~~~~~~~~~~~
  84. * ...
  85. Forms
  86. ~~~~~
  87. * ...
  88. Generic Views
  89. ~~~~~~~~~~~~~
  90. * ...
  91. Internationalization
  92. ~~~~~~~~~~~~~~~~~~~~
  93. * ...
  94. Management Commands
  95. ~~~~~~~~~~~~~~~~~~~
  96. * ...
  97. Migrations
  98. ~~~~~~~~~~
  99. * ...
  100. Models
  101. ~~~~~~
  102. * ...
  103. Requests and Responses
  104. ~~~~~~~~~~~~~~~~~~~~~~
  105. * ...
  106. Serialization
  107. ~~~~~~~~~~~~~
  108. * ...
  109. Signals
  110. ~~~~~~~
  111. * ...
  112. Templates
  113. ~~~~~~~~~
  114. * ...
  115. Tests
  116. ~~~~~
  117. * The new :meth:`.SimpleTestCase.assertURLEqual` assertion checks for a given
  118. URL, ignoring the ordering of the query string.
  119. :meth:`~.SimpleTestCase.assertRedirects` uses the new assertion.
  120. URLs
  121. ~~~~
  122. * ...
  123. Validators
  124. ~~~~~~~~~~
  125. * ...
  126. .. _backwards-incompatible-2.2:
  127. Backwards incompatible changes in 2.2
  128. =====================================
  129. Database backend API
  130. --------------------
  131. * ...
  132. :mod:`django.contrib.gis`
  133. -------------------------
  134. * Support for GDAL 1.9 and 1.10 is dropped.
  135. Miscellaneous
  136. -------------
  137. * ...
  138. .. _deprecated-features-2.2:
  139. Features deprecated in 2.2
  140. ==========================
  141. Miscellaneous
  142. -------------
  143. * ...