mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
This commit is contained in:
parent
6015bab80e
commit
14459f80ee
193 changed files with 5797 additions and 4481 deletions
|
@ -50,12 +50,9 @@ process. An alternative is to use a migration operation in your project::
|
|||
from django.contrib.postgres.operations import CreateExtension
|
||||
from django.db import migrations
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
operations = [
|
||||
CreateExtension('postgis'),
|
||||
...
|
||||
]
|
||||
class Migration(migrations.Migration):
|
||||
operations = [CreateExtension("postgis"), ...]
|
||||
|
||||
If you plan to use PostGIS raster functionality on PostGIS 3+, you should also
|
||||
activate the ``postgis_raster`` extension. You can install the extension using
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue