summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-12 15:20:40 -0500
committerTim Graham <timograham@gmail.com>2015-01-14 14:16:20 -0500
commit28308078f397d1de36fd0da417ac7da2544ba12d (patch)
tree80207ff582b2350d058c1c7c49072b761391c04f /docs
parent737d24923ac69bb8b89af1bb2f3f4c4c744349e8 (diff)
Fixed #22603 -- Reorganized classes in django.db.backends.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/migration-operations.txt2
-rw-r--r--docs/ref/schema-editor.txt2
-rw-r--r--docs/releases/1.8.txt13
3 files changed, 15 insertions, 2 deletions
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt
index 8e13974cfe..76e8cae8b8 100644
--- a/docs/ref/migration-operations.txt
+++ b/docs/ref/migration-operations.txt
@@ -272,7 +272,7 @@ if supplied) should be callable objects that accept two arguments; the first is
an instance of ``django.apps.registry.Apps`` containing historical models that
match the operation's place in the project history, and the second is an
instance of :class:`SchemaEditor
-<django.db.backends.schema.BaseDatabaseSchemaEditor>`.
+<django.db.backends.base.schema.BaseDatabaseSchemaEditor>`.
The optional ``hints`` argument will be passed as ``**hints`` to the
:meth:`allow_migrate` method of database routers to assist them in making a
diff --git a/docs/ref/schema-editor.txt b/docs/ref/schema-editor.txt
index 94456d060e..aa8cd2ef65 100644
--- a/docs/ref/schema-editor.txt
+++ b/docs/ref/schema-editor.txt
@@ -2,7 +2,7 @@
``SchemaEditor``
================
-.. module:: django.db.backends.schema
+.. module:: django.db.backends.base.schema
.. class:: BaseDatabaseSchemaEditor
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt
index 95ce56f241..cb2816723f 100644
--- a/docs/releases/1.8.txt
+++ b/docs/releases/1.8.txt
@@ -942,6 +942,19 @@ Database backend API
The following changes to the database backend API are documented to assist
those writing third-party backends in updating their code:
+* ``BaseDatabaseXXX`` classes have been moved to ``django.db.backends.base``.
+ Please import them from the new locations::
+
+ from django.db.backends.base.base import BaseDatabaseWrapper
+ from django.db.backends.base.client import BaseDatabaseClient
+ from django.db.backends.base.creation import BaseDatabaseCreation
+ from django.db.backends.base.features import BaseDatabaseFeatures
+ from django.db.backends.base.introspection import BaseDatabaseIntrospection
+ from django.db.backends.base.introspection import FieldInfo, TableInfo
+ from django.db.backends.base.operations import BaseDatabaseOperations
+ from django.db.backends.base.schema import BaseDatabaseSchemaEditor
+ from django.db.backends.base.validation import BaseDatabaseValidation
+
* The ``data_types``, ``data_types_suffix``, and
``data_type_check_constraints`` attributes have moved from the
``DatabaseCreation`` class to ``DatabaseWrapper``.