3.1.txt 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. ============================================
  2. Django 3.1 release notes - UNDER DEVELOPMENT
  3. ============================================
  4. *Expected August 2020*
  5. Welcome to Django 3.1!
  6. These release notes cover the :ref:`new features <whats-new-3.1>`, as well as
  7. some :ref:`backwards incompatible changes <backwards-incompatible-3.1>` you'll
  8. want to be aware of when upgrading from Django 3.0 or earlier. We've
  9. :ref:`dropped some features<removed-features-3.1>` that have reached the end of
  10. their deprecation cycle, and we've :ref:`begun the deprecation process for
  11. some features <deprecated-features-3.1>`.
  12. See the :doc:`/howto/upgrade-version` guide if you're updating an existing
  13. project.
  14. Python compatibility
  15. ====================
  16. Django 3.1 supports Python 3.6, 3.7, and 3.8. We **highly recommend** and only
  17. officially support the latest release of each series.
  18. .. _whats-new-3.1:
  19. What's new in Django 3.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. Email
  69. ~~~~~
  70. * ...
  71. File Storage
  72. ~~~~~~~~~~~~
  73. * ...
  74. File Uploads
  75. ~~~~~~~~~~~~
  76. * ...
  77. Forms
  78. ~~~~~
  79. * ...
  80. Generic Views
  81. ~~~~~~~~~~~~~
  82. * ...
  83. Internationalization
  84. ~~~~~~~~~~~~~~~~~~~~
  85. * ...
  86. Logging
  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-3.1:
  120. Backwards incompatible changes in 3.1
  121. =====================================
  122. Database backend API
  123. --------------------
  124. This section describes changes that may be needed in third-party database
  125. backends.
  126. * ...
  127. Miscellaneous
  128. -------------
  129. * ...
  130. .. _deprecated-features-3.1:
  131. Features deprecated in 3.1
  132. ==========================
  133. Miscellaneous
  134. -------------
  135. * ...
  136. .. _removed-features-3.1:
  137. Features removed in 3.1
  138. =======================
  139. These features have reached the end of their deprecation cycle and are removed
  140. in Django 3.1.
  141. See :ref:`deprecated-features-2.2` for details on these changes, including how
  142. to remove usage of these features.
  143. * ``django.utils.timezone.FixedOffset`` is removed.
  144. * ``django.core.paginator.QuerySetPaginator`` is removed.
  145. * ``django.contrib.postgres.fields.FloatRangeField`` and
  146. ``django.contrib.postgres.forms.FloatRangeField`` are removed.
  147. * The ``FILE_CHARSET`` setting is removed.
  148. * ``django.contrib.staticfiles.storage.CachedStaticFilesStorage`` is removed.