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
738bda8a
Kaydet (Commit)
738bda8a
authored
Ara 10, 2015
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Refs #25899 -- Improved visibility of TEST database settings in testing docs.
üst
8ab58b80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
overview.txt
docs/topics/testing/overview.txt
+8
-8
No files found.
docs/topics/testing/overview.txt
Dosyayı görüntüle @
738bda8a
...
@@ -150,14 +150,14 @@ You can prevent the test databases from being destroyed by adding the
...
@@ -150,14 +150,14 @@ You can prevent the test databases from being destroyed by adding the
database between runs. If the database does not exist, it will first be
database between runs. If the database does not exist, it will first be
created. Any migrations will also be applied in order to keep it p to date.
created. Any migrations will also be applied in order to keep it p to date.
By default the test databases get their names by prepending ``test_``
The default test database names are created by prepending ``test_`` to the
to the value of the :setting:`NAME` settings for the databases
value of each :setting:`NAME` in :setting:`DATABASES`. When using SQLite, the
defined in :setting:`DATABASES`. When using the SQLite database engin
e
tests will use an in-memory database by default (i.e., the database will b
e
the tests will by default use an in-memory database (i.e., the
created in memory, bypassing the filesystem entirely!). The :setting:`TEST
database will be created in memory, bypassing the filesystem
<DATABASE-TEST>` dictionary in :setting:`DATABASES` offers a number of settings
entirely!). If you want to use a different database name, specify
to configure your test database. For example, if you want to use a different
:setting:`NAME <TEST_NAME>` in the :setting:`TEST <DATABASE-TEST>`
database name, specify :setting:`NAME <TEST_NAME>` in the :setting:`TEST
dictionary for any given database in :setting:`DATABASES`.
<DATABASE-TEST>`
dictionary for any given database in :setting:`DATABASES`.
On PostgreSQL, :setting:`USER` will also need read access to the built-in
On PostgreSQL, :setting:`USER` will also need read access to the built-in
``postgres`` database.
``postgres`` database.
...
...
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