[1.10.x] Fixed typo in docs/ref/contrib/gis/install/postgis.txt.
Backport of 9c522d2ed8
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…
Reference in New Issue