2.0.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. ============================================
  2. Django 2.0 release notes - UNDER DEVELOPMENT
  3. ============================================
  4. Welcome to Django 2.0!
  5. These release notes cover the :ref:`new features <whats-new-2.0>`, as well as
  6. some :ref:`backwards incompatible changes <backwards-incompatible-2.0>` you'll
  7. want to be aware of when upgrading from Django 1.11 or earlier. We've
  8. :ref:`dropped some features<removed-features-2.0>` 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.0>`.
  11. See the :doc:`/howto/upgrade-version` guide if you're updating an existing
  12. project.
  13. Python compatibility
  14. ====================
  15. Django 2.0 supports Python 3.5+. Since Django 1.11, support for Python 2.7 and
  16. 3.4 is removed. We **highly recommend** and only officially support the latest
  17. release of each series.
  18. Third-party library support for older version of Django
  19. =======================================================
  20. Following the release of Django 2.0, we suggest that third-party app authors
  21. drop support for all versions of Django prior to 1.11. At that time, you should
  22. be able run your package's tests using ``python -Wd`` so that deprecation
  23. warnings do appear. After making the deprecation warning fixes, your app should
  24. be compatible with Django 2.0.
  25. .. _whats-new-2.0:
  26. What's new in Django 2.0
  27. ========================
  28. Minor features
  29. --------------
  30. :mod:`django.contrib.admin`
  31. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  32. * ...
  33. :mod:`django.contrib.admindocs`
  34. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  35. * ...
  36. :mod:`django.contrib.auth`
  37. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  38. * ...
  39. :mod:`django.contrib.contenttypes`
  40. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  41. * ...
  42. :mod:`django.contrib.gis`
  43. ~~~~~~~~~~~~~~~~~~~~~~~~~
  44. * ...
  45. :mod:`django.contrib.messages`
  46. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  47. * ...
  48. :mod:`django.contrib.postgres`
  49. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  50. * ...
  51. :mod:`django.contrib.redirects`
  52. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  53. * ...
  54. :mod:`django.contrib.sessions`
  55. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  56. * ...
  57. :mod:`django.contrib.sitemaps`
  58. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  59. * ...
  60. :mod:`django.contrib.sites`
  61. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  62. * ...
  63. :mod:`django.contrib.staticfiles`
  64. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  65. * ...
  66. :mod:`django.contrib.syndication`
  67. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  68. * ...
  69. Cache
  70. ~~~~~
  71. * ...
  72. CSRF
  73. ~~~~
  74. * ...
  75. Database backends
  76. ~~~~~~~~~~~~~~~~~
  77. * ...
  78. Email
  79. ~~~~~
  80. * ...
  81. File Storage
  82. ~~~~~~~~~~~~
  83. * ...
  84. File Uploads
  85. ~~~~~~~~~~~~
  86. * ...
  87. Forms
  88. ~~~~~
  89. * ...
  90. Generic Views
  91. ~~~~~~~~~~~~~
  92. * ...
  93. Internationalization
  94. ~~~~~~~~~~~~~~~~~~~~
  95. * ...
  96. Management Commands
  97. ~~~~~~~~~~~~~~~~~~~
  98. * ...
  99. Migrations
  100. ~~~~~~~~~~
  101. * ...
  102. Models
  103. ~~~~~~
  104. * ...
  105. Requests and Responses
  106. ~~~~~~~~~~~~~~~~~~~~~~
  107. * ...
  108. Serialization
  109. ~~~~~~~~~~~~~
  110. * ...
  111. Signals
  112. ~~~~~~~
  113. * ...
  114. Templates
  115. ~~~~~~~~~
  116. * ...
  117. Tests
  118. ~~~~~
  119. * ...
  120. URLs
  121. ~~~~
  122. * ...
  123. Validators
  124. ~~~~~~~~~~
  125. * ...
  126. .. _backwards-incompatible-2.0:
  127. Backwards incompatible changes in 2.0
  128. =====================================
  129. Database backend API
  130. --------------------
  131. * ...
  132. Miscellaneous
  133. -------------
  134. * ...
  135. .. _deprecated-features-2.0:
  136. Features deprecated in 2.0
  137. ==========================
  138. Miscellaneous
  139. -------------
  140. * ...
  141. .. _removed-features-2.0:
  142. Features removed in 2.0
  143. =======================
  144. These features have reached the end of their deprecation cycle and are removed
  145. in Django 2.0. See :ref:`deprecated-features-1.9` and
  146. :ref:`deprecated-features-1.10` for details, including how to remove usage of
  147. these features.
  148. * The ``weak`` argument to ``django.dispatch.signals.Signal.disconnect()`` is
  149. removed.