Added multi-column indexes to the 1.5 release notes.
This commit is contained in:
parent
8d3f932f18
commit
957787ace0
|
@ -263,10 +263,10 @@ Django quotes column and table names behind the scenes.
|
||||||
|
|
||||||
``index_together``
|
``index_together``
|
||||||
|
|
||||||
.. versionadded:: 1.5
|
|
||||||
|
|
||||||
.. attribute:: Options.index_together
|
.. attribute:: Options.index_together
|
||||||
|
|
||||||
|
.. versionadded:: 1.5
|
||||||
|
|
||||||
Sets of field names that, taken together, are indexed::
|
Sets of field names that, taken together, are indexed::
|
||||||
|
|
||||||
index_together = [
|
index_together = [
|
||||||
|
|
|
@ -302,6 +302,10 @@ Django 1.5 also includes several smaller improvements worth noting:
|
||||||
* The :ref:`cache-based session backend <cached-sessions-backend>` can store
|
* The :ref:`cache-based session backend <cached-sessions-backend>` can store
|
||||||
session data in a non-default cache.
|
session data in a non-default cache.
|
||||||
|
|
||||||
|
* Multi-column indexes can now be created on models. Read the
|
||||||
|
:attr:`~django.db.models.Options.index_together` documentation for more
|
||||||
|
infomration.
|
||||||
|
|
||||||
Backwards incompatible changes in 1.5
|
Backwards incompatible changes in 1.5
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue