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
c41335fa
Kaydet (Commit)
c41335fa
authored
Mar 03, 2014
tarafından
Russell Keith-Magee
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added backwards compatibliity checks to reference documentation.
üst
21d81752
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
django_1_6_0.py
django/core/checks/compatibility/django_1_6_0.py
+1
-1
checks.txt
docs/ref/checks.txt
+10
-0
No files found.
django/core/checks/compatibility/django_1_6_0.py
Dosyayı görüntüle @
c41335fa
...
...
@@ -105,7 +105,7 @@ def _check_boolean_field_default_value(app_configs=None, **kwargs):
return
[
Warning
(
"BooleanField does not have a default value.
"
,
"BooleanField does not have a default value."
,
hint
=
(
"Django 1.6 changed the default value of BooleanField from False to None. "
"See https://docs.djangoproject.com/en/1.6/ref/models/fields/#booleanfield "
"for more information."
),
...
...
docs/ref/checks.txt
Dosyayı görüntüle @
c41335fa
...
...
@@ -19,6 +19,7 @@ Django's system checks are organized using the following tags:
* ``models``: Checks governing model, field and manager definitions.
* ``signals``: Checks on signal declarations and handler registrations.
* ``admin``: Checks of any admin site declarations.
* ``compatibility``: Flagging potential problems with version upgrades.
Some checks may be registered with multiple tags.
...
...
@@ -99,6 +100,15 @@ Signals
* **signals.E001**: <handler> was connected to the ``<signal>`` signal with a lazy reference to the ``<moel>`` sender, which has not been installed.
Backwards Compatibility
~~~~~~~~~~~~~~~~~~~~~~~
The following checks are performed to warn the user of any potential problems
that might occur as a result of a version upgrade.
* **1_6.W001**: Some project unittests may not execute as expected.
* **1_6.W002**: BooleanField does not have a default value.
Admin
-----
...
...
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