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
db87016b
Kaydet (Commit)
db87016b
authored
Haz 30, 2012
tarafından
Claude Paroz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #12493 -- Deprecated auto-correction of TEMPLATE_DIRS
üst
596e1529
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
__init__.py
django/conf/__init__.py
+3
-0
deprecation.txt
docs/internals/deprecation.txt
+4
-0
No files found.
django/conf/__init__.py
Dosyayı görüntüle @
db87016b
...
...
@@ -103,6 +103,9 @@ class Settings(BaseSettings):
setting_value
=
getattr
(
mod
,
setting
)
if
setting
in
tuple_settings
and
\
isinstance
(
setting_value
,
basestring
):
warnings
.
warn
(
"The
%
s setting must be a tuple. Please fix your "
"settings, as auto-correction is now deprecated."
%
setting
,
PendingDeprecationWarning
)
setting_value
=
(
setting_value
,)
# In case the user forgot the comma.
setattr
(
self
,
setting
,
setting_value
)
...
...
docs/internals/deprecation.txt
Dosyayı görüntüle @
db87016b
...
...
@@ -276,6 +276,10 @@ these changes.
* The function ``django.utils.itercompat.product`` will be removed. The Python
builtin version should be used instead.
* Auto-correction of INSTALLED_APPS and TEMPLATE_DIRS settings when they are
specified as a plain string instead of a tuple will be removed and raise an
exception.
2.0
---
...
...
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