mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #26020 -- Normalized header stylings in docs.
This commit is contained in:
parent
79d0a4fdb0
commit
bca9faae95
132 changed files with 1498 additions and 1464 deletions
|
@ -14,7 +14,7 @@ A common paradigm for optimizing performance in database systems is the use of
|
|||
|
||||
|
||||
Declaring tablespaces for tables
|
||||
--------------------------------
|
||||
================================
|
||||
|
||||
A tablespace can be specified for the table generated by a model by supplying
|
||||
the :attr:`~django.db.models.Options.db_tablespace` option inside the model's
|
||||
|
@ -27,7 +27,7 @@ a tablespace for the built-in Django apps and other applications whose code you
|
|||
cannot control.
|
||||
|
||||
Declaring tablespaces for indexes
|
||||
---------------------------------
|
||||
=================================
|
||||
|
||||
You can pass the :attr:`~django.db.models.Field.db_tablespace` option to a
|
||||
``Field`` constructor to specify an alternate tablespace for the ``Field``’s
|
||||
|
@ -42,7 +42,7 @@ set :setting:`DEFAULT_INDEX_TABLESPACE`, the index is created in the same
|
|||
tablespace as the tables.
|
||||
|
||||
An example
|
||||
----------
|
||||
==========
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
@ -62,7 +62,7 @@ also generate an index, but no tablespace for it is specified, so it would be
|
|||
stored in the model tablespace ``tables`` by default.
|
||||
|
||||
Database support
|
||||
----------------
|
||||
================
|
||||
|
||||
PostgreSQL and Oracle support tablespaces. SQLite and MySQL don't.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue