2.1.txt 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. ============================================
  2. Django 2.1 release notes - UNDER DEVELOPMENT
  3. ============================================
  4. Welcome to Django 2.1!
  5. These release notes cover the :ref:`new features <whats-new-2.1>`, as well as
  6. some :ref:`backwards incompatible changes <backwards-incompatible-2.1>` you'll
  7. want to be aware of when upgrading from Django 2.0 or earlier. We've
  8. :ref:`dropped some features<removed-features-2.1>` that have reached the end of
  9. their deprecation cycle, and we've :ref:`begun the deprecation process for some
  10. features <deprecated-features-2.1>`.
  11. See the :doc:`/howto/upgrade-version` guide if you're updating an existing
  12. project.
  13. Python compatibility
  14. ====================
  15. Django 2.1 supports Python 3.5, 3.6, and 3.7. Django 2.0 is the last version to
  16. support Python 3.4. We **highly recommend** and only officially support the
  17. latest release of each series.
  18. .. _whats-new-2.1:
  19. What's new in Django 2.1
  20. ========================
  21. Minor features
  22. --------------
  23. :mod:`django.contrib.admin`
  24. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  25. * ...
  26. :mod:`django.contrib.admindocs`
  27. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  28. * ...
  29. :mod:`django.contrib.auth`
  30. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  31. * ...
  32. :mod:`django.contrib.contenttypes`
  33. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  34. * ...
  35. :mod:`django.contrib.gis`
  36. ~~~~~~~~~~~~~~~~~~~~~~~~~
  37. * ...
  38. :mod:`django.contrib.messages`
  39. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  40. * ...
  41. :mod:`django.contrib.postgres`
  42. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. * ...
  44. :mod:`django.contrib.redirects`
  45. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  46. * ...
  47. :mod:`django.contrib.sessions`
  48. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  49. * ...
  50. :mod:`django.contrib.sitemaps`
  51. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  52. * ...
  53. :mod:`django.contrib.sites`
  54. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  55. * ...
  56. :mod:`django.contrib.staticfiles`
  57. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  58. * ...
  59. :mod:`django.contrib.syndication`
  60. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  61. * ...
  62. Cache
  63. ~~~~~
  64. * ...
  65. CSRF
  66. ~~~~
  67. * ...
  68. Database backends
  69. ~~~~~~~~~~~~~~~~~
  70. * ...
  71. Email
  72. ~~~~~
  73. * ...
  74. File Storage
  75. ~~~~~~~~~~~~
  76. * ...
  77. File Uploads
  78. ~~~~~~~~~~~~
  79. * ...
  80. Forms
  81. ~~~~~
  82. * ...
  83. Generic Views
  84. ~~~~~~~~~~~~~
  85. * ...
  86. Internationalization
  87. ~~~~~~~~~~~~~~~~~~~~
  88. * ...
  89. Management Commands
  90. ~~~~~~~~~~~~~~~~~~~
  91. * ...
  92. Migrations
  93. ~~~~~~~~~~
  94. * ...
  95. Models
  96. ~~~~~~
  97. * ...
  98. Requests and Responses
  99. ~~~~~~~~~~~~~~~~~~~~~~
  100. * ...
  101. Serialization
  102. ~~~~~~~~~~~~~
  103. * ...
  104. Signals
  105. ~~~~~~~
  106. * ...
  107. Templates
  108. ~~~~~~~~~
  109. * ...
  110. Tests
  111. ~~~~~
  112. * ...
  113. URLs
  114. ~~~~
  115. * ...
  116. Validators
  117. ~~~~~~~~~~
  118. * ...
  119. .. _backwards-incompatible-2.1:
  120. Backwards incompatible changes in 2.1
  121. =====================================
  122. Database backend API
  123. --------------------
  124. * ...
  125. Miscellaneous
  126. -------------
  127. * ...
  128. .. _deprecated-features-2.1:
  129. Features deprecated in 2.1
  130. ==========================
  131. Miscellaneous
  132. -------------
  133. * ...
  134. .. _removed-features-2.1:
  135. Features removed in 2.1
  136. =======================
  137. These features have reached the end of their deprecation cycle and are removed
  138. in Django 2.1. See :ref:`deprecated-features-1.11` for details, including how
  139. to remove usage of these features.
  140. in Django 2.1. See :ref:`deprecated-features-1.11` and for details, including
  141. how to remove usage of these features.
  142. * ``contrib.auth.views.login()``, ``logout()``, ``password_change()``,
  143. ``password_change_done()``, ``password_reset()``, ``password_reset_done()``,
  144. ``password_reset_confirm()``, and ``password_reset_complete()`` are removed.
  145. * The ``extra_context`` parameter of ``contrib.auth.views.logout_then_login()``
  146. is removed.