summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-12-06 15:11:20 +0100
committerClaude Paroz <claude@2xlibre.net>2014-12-08 22:22:53 +0100
commitbac7664f274be834a09e037331889959f04a75e7 (patch)
treeafecc5d43a6cb1dd8fbee63660c3f5d66714e051 /docs
parent8f97413faed5431713c034897cda486507bf0cc3 (diff)
Ran 'CREATE EXTENSION postgis' during prepare_database hook
DatabaseWrapper.prepare_database has been introduced in 307de67073.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/install/postgis.txt6
-rw-r--r--docs/releases/1.8.txt4
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/install/postgis.txt b/docs/ref/contrib/gis/install/postgis.txt
index e9c611aa31..ab7da31861 100644
--- a/docs/ref/contrib/gis/install/postgis.txt
+++ b/docs/ref/contrib/gis/install/postgis.txt
@@ -68,6 +68,12 @@ spatial functionality::
No PostGIS topology functionalities are yet available from GeoDjango, so the
creation of the ``postgis_topology`` extension is entirely optional.
+.. versionchanged:: 1.8
+
+ The ``CREATE EXTENSION postgis`` command is now automatically run during
+ the :djadmin:`migrate` process. You can still create it manually if you
+ wish.
+
.. _spatialdb_template_earlier:
Creating a spatial database template for earlier versions
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt
index 2ddcaf25bb..a233edd443 100644
--- a/docs/releases/1.8.txt
+++ b/docs/releases/1.8.txt
@@ -135,6 +135,10 @@ Minor features
* The Spatialite backend now supports ``Collect`` and ``Extent`` aggregates
when the database version is 3.0 or later.
+* The PostGIS 2 ``CREATE EXTENSION postgis`` and the Spatialite
+ ``SELECT InitSpatialMetaData`` initialization commands are now automatically
+ run by :djadmin:`migrate`.
+
* Compatibility shims for ``SpatialRefSys`` and ``GeometryColumns`` changed in
Django 1.2 have been removed.