Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
629dde8d
Kaydet (Commit)
629dde8d
authored
Kas 01, 2017
tarafından
Adam Johnson
Kaydeden (comit)
Tim Graham
Kas 01, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Made assorted edits to docs/releases/2.0.txt.
üst
7945bc1d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
12 deletions
+16
-12
2.0.txt
docs/releases/2.0.txt
+16
-12
No files found.
docs/releases/2.0.txt
Dosyayı görüntüle @
629dde8d
...
@@ -12,9 +12,9 @@ their deprecation cycle, and we've :ref:`begun the deprecation process for some
...
@@ -12,9 +12,9 @@ their deprecation cycle, and we've :ref:`begun the deprecation process for some
features <deprecated-features-2.0>`.
features <deprecated-features-2.0>`.
This release starts Django's use of a :ref:`loose form of semantic versioning
This release starts Django's use of a :ref:`loose form of semantic versioning
<internal-release-cadence>`,
however, there aren't any major backwards
<internal-release-cadence>`,
but there aren't any major backwards incompatible
incompatible changes that might be expected of a 2.0 release. Upgrading should
changes that might be expected of a 2.0 release. Upgrading should be a similar
be a similar
amount of effort as past feature releases.
amount of effort as past feature releases.
See the :doc:`/howto/upgrade-version` guide if you're updating an existing
See the :doc:`/howto/upgrade-version` guide if you're updating an existing
project.
project.
...
@@ -60,10 +60,13 @@ could be written as::
...
@@ -60,10 +60,13 @@ could be written as::
The new syntax supports type coercion of URL parameters. In the example, the
The new syntax supports type coercion of URL parameters. In the example, the
view will receive the ``year`` keyword argument as an integer rather than as
view will receive the ``year`` keyword argument as an integer rather than as
a string.
a string. Also, the URLs that will match are slightly less constrained in the
rewritten example. For example, the year 10000 will now match since the year
integers aren't constrained to be exactly four digits long as they are in the
regular expression.
The ``django.conf.urls.url()`` function from previous versions is now available
The ``django.conf.urls.url()`` function from previous versions is now available
as :func:`django.urls.re_path`
, however, t
he old location remains for backwards
as :func:`django.urls.re_path`
. T
he old location remains for backwards
compatibility, without an imminent deprecation. The old
compatibility, without an imminent deprecation. The old
``django.conf.urls.include()`` function is now importable from ``django.urls``
``django.conf.urls.include()`` function is now importable from ``django.urls``
so you can use ``from django.urls import include, path, re_path`` in your
so you can use ``from django.urls import include, path, re_path`` in your
...
@@ -75,8 +78,8 @@ and provide more details.
...
@@ -75,8 +78,8 @@ and provide more details.
Mobile-friendly ``contrib.admin``
Mobile-friendly ``contrib.admin``
---------------------------------
---------------------------------
The admin is now responsive and supports all major mobile devices.
The admin is now responsive and supports all major mobile devices.
Older
Older
browsers may experience varying levels of graceful degradation.
browsers may experience varying levels of graceful degradation.
Window expressions
Window expressions
------------------
------------------
...
@@ -172,8 +175,8 @@ Minor features
...
@@ -172,8 +175,8 @@ Minor features
Cache
Cache
~~~~~
~~~~~
*
On memcached, ``cache.set_many()`` returns a list of keys that failed to be
*
``cache.set_many()`` now returns a list of keys that failed to be inserted.
insert
ed.
For the built-in backends, failed inserts can only happen on memcach
ed.
File Storage
File Storage
~~~~~~~~~~~~
~~~~~~~~~~~~
...
@@ -222,8 +225,8 @@ Management Commands
...
@@ -222,8 +225,8 @@ Management Commands
Migrations
Migrations
~~~~~~~~~~
~~~~~~~~~~
* The new :option:`squashmigrations --squashed-name`
option allows naming
* The new :option:`squashmigrations --squashed-name`
option allows naming the
the
squashed migration.
squashed migration.
Models
Models
~~~~~~
~~~~~~
...
@@ -776,7 +779,8 @@ See :ref:`deprecated-features-1.10` for details on these changes.
...
@@ -776,7 +779,8 @@ See :ref:`deprecated-features-1.10` for details on these changes.
* The ``shell --plain`` option is removed.
* The ``shell --plain`` option is removed.
* The ``django.core.urlresolvers`` module is removed.
* The ``django.core.urlresolvers`` module is removed in favor of its new
location, ``django.urls``.
* ``CommaSeparatedIntegerField`` is removed, except for support in historical
* ``CommaSeparatedIntegerField`` is removed, except for support in historical
migrations.
migrations.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment