diff options
| author | Claude Paroz <claude@2xlibre.net> | 2016-09-01 15:59:33 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2016-09-01 15:59:46 +0200 |
| commit | 6b54504e667da3f6bc53b887ffd7e8cc113a94b1 (patch) | |
| tree | 1d334b80fc67290d35b30ad17c5ceb4db8644558 /docs/ref/databases.txt | |
| parent | 789f9c9b29dc79c3007b2b31cb75cf8d037f266d (diff) | |
Refs #27162 -- Complemented docs related to CreateExtension
Thanks Tim Graham for the review.
Diffstat (limited to 'docs/ref/databases.txt')
| -rw-r--r-- | docs/ref/databases.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 257324330d..6d705beb66 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -164,6 +164,13 @@ lookups that use the ``LIKE`` operator in their SQL, as is done with the .. _PostgreSQL operator class: http://www.postgresql.org/docs/current/static/indexes-opclass.html +Migration operation for adding extensions +----------------------------------------- + +If you need to add a PostgreSQL extension (like ``hstore``, ``postgis``, etc.) +using a migration, use the +:class:`~django.contrib.postgres.operations.CreateExtension` operation. + Test database templates ----------------------- |
