1
0
mirror of https://github.com/django/django.git synced 2025-04-05 22:16:41 +00:00

Fixed #20960 - moved DEFAULT_TABLESPACE to DATABASES

This commit is contained in:
Ben Cail 2024-02-14 14:49:28 -05:00
parent ec7d69035a
commit 2b972ff07c
3 changed files with 7 additions and 0 deletions

View File

@ -436,6 +436,7 @@ NUMBER_GROUPING = 0
# Thousand separator symbol
THOUSAND_SEPARATOR = ","
# RemovedInDjango60Warning: Use the OPTION in the DATABASES dict instead.
# The tablespaces to use for each model when not specified otherwise.
DEFAULT_TABLESPACE = ""
DEFAULT_INDEX_TABLESPACE = ""

View File

@ -95,6 +95,8 @@ details on these changes.
* The ``get_cache_name()`` method of ``FieldCacheMixin`` will be removed.
* The DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE settings will be removed.
.. _deprecation-removed-in-5.1:
5.1

View File

@ -1354,6 +1354,8 @@ This doesn't affect error messages sent to :setting:`ADMINS` and
``DEFAULT_INDEX_TABLESPACE``
----------------------------
.. deprecated:: 5.1
Default: ``''`` (Empty string)
Default tablespace to use for indexes on fields that don't specify
@ -1364,6 +1366,8 @@ one, if the backend supports it (see :doc:`/topics/db/tablespaces`).
``DEFAULT_TABLESPACE``
----------------------
.. deprecated:: 5.1
Default: ``''`` (Empty string)
Default tablespace to use for models that don't specify one, if the