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
f56f6cfa
Kaydet (Commit)
f56f6cfa
authored
Ara 24, 2012
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed links to DATABASE ENGINE setting. refs #19516
üst
1c8be95a
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
34 additions
and
35 deletions
+34
-35
initial-data.txt
docs/howto/initial-data.txt
+2
-2
legacy-databases.txt
docs/howto/legacy-databases.txt
+1
-1
tutorial01.txt
docs/intro/tutorial01.txt
+4
-3
0.96.txt
docs/releases/0.96.txt
+2
-3
1.0-porting-guide.txt
docs/releases/1.0-porting-guide.txt
+1
-2
1.2-alpha-1.txt
docs/releases/1.2-alpha-1.txt
+10
-10
1.2.txt
docs/releases/1.2.txt
+11
-11
overview.txt
docs/topics/testing/overview.txt
+3
-3
No files found.
docs/howto/initial-data.txt
Dosyayı görüntüle @
f56f6cfa
...
...
@@ -153,8 +153,8 @@ each app, Django looks for a file called
``<appname>/sql/<modelname>.<backend>.sql``, where ``<appname>`` is
your app directory, ``<modelname>`` is the model's name in lowercase
and ``<backend>`` is the last part of the module name provided for the
:setting:`ENGINE
` in your settings file (e.g., if you have defined a
d
atabase with an :setting:`ENGINE
` value of
:setting:`ENGINE
<DATABASE-ENGINE>` in your settings file (e.g., if you have
d
efined a database with an :setting:`ENGINE <DATABASE-ENGINE>
` value of
``django.db.backends.sqlite3``, Django will look for
``<appname>/sql/<modelname>.sqlite3.sql``).
...
...
docs/howto/legacy-databases.txt
Dosyayı görüntüle @
f56f6cfa
...
...
@@ -21,7 +21,7 @@ setting and assigning values to the following keys for the ``'default'``
connection:
* :setting:`NAME`
* :setting:`ENGINE`
* :setting:`ENGINE
<DATABASE-ENGINE>
`
* :setting:`USER`
* :setting:`PASSWORD`
* :setting:`HOST`
...
...
docs/intro/tutorial01.txt
Dosyayı görüntüle @
f56f6cfa
...
...
@@ -207,9 +207,10 @@ your database connection settings.
same physical machine (not used for SQLite). See :setting:`HOST` for details.
If you're new to databases, we recommend simply using SQLite by setting
:setting:`ENGINE` to ``'django.db.backends.sqlite3'`` and :setting:`NAME` to
the place where you'd like to store the database. SQLite is included in Python,
so you won't need to install anything else to support your database.
:setting:`ENGINE <DATABASE-ENGINE>` to ``'django.db.backends.sqlite3'`` and
:setting:`NAME` to the place where you'd like to store the database. SQLite is
included in Python, so you won't need to install anything else to support your
database.
.. note::
...
...
docs/releases/0.96.txt
Dosyayı görüntüle @
f56f6cfa
...
...
@@ -34,8 +34,7 @@ exceptions if you attempt to use an older version.
If you're currently unable to upgrade your copy of ``MySQLdb`` to meet
this requirement, a separate, backwards-compatible backend, called
"mysql_old", has been added to Django. To use this backend, change
the :setting:`DATABASE_ENGINE` setting in your Django settings file from
this::
the ``DATABASE_ENGINE`` setting in your Django settings file from this::
DATABASE_ENGINE = "mysql"
...
...
@@ -49,7 +48,7 @@ provided only to ease this transition, and is considered deprecated;
aside from any necessary security fixes, it will not be actively
maintained, and it will be removed in a future release of Django.
Also, note that some features, like the new
:setting:`DATABASE_OPTIONS
`
Also, note that some features, like the new
``DATABASE_OPTIONS`
`
setting (see the :doc:`databases documentation </ref/databases>` for details),
are only available on the "mysql" backend, and will not be made available for
"mysql_old".
...
...
docs/releases/1.0-porting-guide.txt
Dosyayı görüntüle @
f56f6cfa
...
...
@@ -548,7 +548,7 @@ need to reload your data. Do this after you have made the change to using
**Back up your database first!**
For SQLite, this means making a copy of the single file that stores the
database (the name of that file is the
:setting:`DATABASE_NAME
` in your
database (the name of that file is the
``DATABASE_NAME`
` in your
settings.py file).
To upgrade each application to use a ``DecimalField``, you can do the
...
...
@@ -769,4 +769,3 @@ Old (0.96) New (1.0)
``backend.uses_case_insensitive_names`` ``connection.features.uses_case_insensitive_names``
``backend.uses_custom_queryset`` ``connection.features.uses_custom_queryset``
======================================= ===================================================
docs/releases/1.2-alpha-1.txt
Dosyayı görüntüle @
f56f6cfa
...
...
@@ -285,16 +285,16 @@ This affects the following settings:
========================================= ==========================
Old setting New Setting
========================================= ==========================
:setting:`DATABASE_ENGINE` :setting:`ENGINE
`
:setting:`DATABASE_HOST`
:setting:`HOST`
:setting:`DATABASE_NAME`
:setting:`NAME`
:setting:`DATABASE_OPTIONS`
:setting:`OPTIONS`
:setting:`DATABASE_PASSWORD`
:setting:`PASSWORD`
:setting:`DATABASE_PORT`
:setting:`PORT`
:setting:`DATABASE_USER`
:setting:`USER`
:setting:`TEST_DATABASE_CHARSET`
:setting:`TEST_CHARSET`
:setting:`TEST_DATABASE_COLLATION`
:setting:`TEST_COLLATION`
:setting:`TEST_DATABASE_NAME`
:setting:`TEST_NAME`
`DATABASE_ENGINE` :setting:`ENGINE <DATABASE-ENGINE>
`
`DATABASE_HOST`
:setting:`HOST`
`DATABASE_NAME`
:setting:`NAME`
`DATABASE_OPTIONS`
:setting:`OPTIONS`
`DATABASE_PASSWORD`
:setting:`PASSWORD`
`DATABASE_PORT`
:setting:`PORT`
`DATABASE_USER`
:setting:`USER`
`TEST_DATABASE_CHARSET`
:setting:`TEST_CHARSET`
`TEST_DATABASE_COLLATION`
:setting:`TEST_COLLATION`
`TEST_DATABASE_NAME`
:setting:`TEST_NAME`
========================================= ==========================
These changes are also required if you have manually created a database
...
...
docs/releases/1.2.txt
Dosyayı görüntüle @
f56f6cfa
...
...
@@ -819,16 +819,16 @@ This affects the following settings:
========================================= ==========================
Old setting New Setting
========================================= ==========================
:setting:`DATABASE_ENGINE` :setting:`ENGINE
`
:setting:`DATABASE_HOST`
:setting:`HOST`
:setting:`DATABASE_NAME`
:setting:`NAME`
:setting:`DATABASE_OPTIONS`
:setting:`OPTIONS`
:setting:`DATABASE_PASSWORD`
:setting:`PASSWORD`
:setting:`DATABASE_PORT`
:setting:`PORT`
:setting:`DATABASE_USER`
:setting:`USER`
:setting:`TEST_DATABASE_CHARSET`
:setting:`TEST_CHARSET`
:setting:`TEST_DATABASE_COLLATION`
:setting:`TEST_COLLATION`
:setting:`TEST_DATABASE_NAME`
:setting:`TEST_NAME`
`DATABASE_ENGINE` :setting:`ENGINE <DATABASE-ENGINE>
`
`DATABASE_HOST`
:setting:`HOST`
`DATABASE_NAME`
:setting:`NAME`
`DATABASE_OPTIONS`
:setting:`OPTIONS`
`DATABASE_PASSWORD`
:setting:`PASSWORD`
`DATABASE_PORT`
:setting:`PORT`
`DATABASE_USER`
:setting:`USER`
`TEST_DATABASE_CHARSET`
:setting:`TEST_CHARSET`
`TEST_DATABASE_COLLATION`
:setting:`TEST_COLLATION`
`TEST_DATABASE_NAME`
:setting:`TEST_NAME`
========================================= ==========================
These changes are also required if you have manually created a database
...
...
@@ -850,7 +850,7 @@ has been deprecated.
If you are currently using the ``postgresql`` backend, you should
migrate to using the ``postgresql_psycopg2`` backend. To update your
code, install the ``psycopg2`` library and change the
:setting:`
DATABASE_ENGINE
` setting to use
:setting:`
ENGINE <DATABASE-ENGINE>
` setting to use
``django.db.backends.postgresql_psycopg2``.
CSRF response-rewriting middleware
...
...
docs/topics/testing/overview.txt
Dosyayı görüntüle @
f56f6cfa
...
...
@@ -195,9 +195,9 @@ entirely!). If you want to use a different database name, specify
Aside from using a separate database, the test runner will otherwise
use all of the same database settings you have in your settings file:
:setting:`ENGINE
`, :setting:`USER`, :setting:`HOST`, etc. The test
database is created by the user specified by :setting:`USER`, so you'll need
to make sure that the given user account has sufficient privileges to
:setting:`ENGINE
<DATABASE-ENGINE>`, :setting:`USER`, :setting:`HOST`, etc. The
test database is created by the user specified by :setting:`USER`, so you'll
need
to make sure that the given user account has sufficient privileges to
create a new database on the system.
For fine-grained control over the character encoding of your test
...
...
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