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
31bcb102
Kaydet (Commit)
31bcb102
authored
Şub 23, 2013
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #19775 - Clarified requirements of the "default" database.
Thanks monkut for the report and wsmith323 for the patch.
üst
799be90f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
multi-db.txt
docs/topics/db/multi-db.txt
+4
-2
No files found.
docs/topics/db/multi-db.txt
Dosyayı görüntüle @
31bcb102
...
@@ -21,8 +21,10 @@ documentation.
...
@@ -21,8 +21,10 @@ documentation.
Databases can have any alias you choose. However, the alias
Databases can have any alias you choose. However, the alias
``default`` has special significance. Django uses the database with
``default`` has special significance. Django uses the database with
the alias of ``default`` when no other database has been selected. If
the alias of ``default`` when no other database has been selected. If
you don't have a ``default`` database, you need to be careful to
the concept of a ``default`` database doesn't make sense in the context
always specify the database that you want to use.
of your project, you need to be careful to always specify the database
that you want to use. Django requires that a ``default`` database entry
be defined, but the parameters can be left blank if it will not be used.
The following is an example ``settings.py`` snippet defining two
The following is an example ``settings.py`` snippet defining two
databases -- a default PostgreSQL database and a MySQL database called
databases -- a default PostgreSQL database and a MySQL database called
...
...
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