mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.10.x] Fixed typo in docs/ref/contrib/gis/install/postgis.txt.
Backport of 9c522d2ed8e752932bfff62d6e2940e56dee700b from master
This commit is contained in:
parent
131098b9c7
commit
818d7ba421
@ -67,7 +67,7 @@ The database user must be a superuser in order to run
|
|||||||
``CREATE EXTENSION postgis;``. The command is run during the :djadmin:`migrate`
|
``CREATE EXTENSION postgis;``. The command is run during the :djadmin:`migrate`
|
||||||
process. An alternative is to use a migration operation in your project::
|
process. An alternative is to use a migration operation in your project::
|
||||||
|
|
||||||
from django.contrib.postgresql.operations import CreateExtension
|
from django.contrib.postgres.operations import CreateExtension
|
||||||
from django.db import migrations
|
from django.db import migrations
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user