summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2026-01-18 21:26:56 +0100
committerGitHub <noreply@github.com>2026-01-18 21:26:56 +0100
commit6cff02078799b7c683a0d39630d49ab4fe532e7c (patch)
tree9813fc94d952942117b23d61231b9e89a8cab1c2 /docs/ref
parent0d31ca98830542088299d2078402891d08cc3a65 (diff)
Applied Black's 2026 stable style.
https://github.com/psf/black/releases/tag/26.1.0
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/gdal.txt6
-rw-r--r--docs/ref/contrib/postgres/constraints.txt1
2 files changed, 2 insertions, 5 deletions
diff --git a/docs/ref/contrib/gis/gdal.txt b/docs/ref/contrib/gis/gdal.txt
index 15bfc6641f..44383b24a1 100644
--- a/docs/ref/contrib/gis/gdal.txt
+++ b/docs/ref/contrib/gis/gdal.txt
@@ -1072,8 +1072,7 @@ Coordinate System Objects
>>> wgs84 = SpatialReference("EPSG:4326") # EPSG string
>>> proj = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs "
>>> wgs84 = SpatialReference(proj) # PROJ string
- >>> wgs84 = SpatialReference(
- ... """GEOGCS["WGS 84",
+ >>> wgs84 = SpatialReference("""GEOGCS["WGS 84",
... DATUM["WGS_1984",
... SPHEROID["WGS 84",6378137,298.257223563,
... AUTHORITY["EPSG","7030"]],
@@ -1082,8 +1081,7 @@ Coordinate System Objects
... AUTHORITY["EPSG","8901"]],
... UNIT["degree",0.01745329251994328,
... AUTHORITY["EPSG","9122"]],
- ... AUTHORITY["EPSG","4326"]]"""
- ... ) # OGC WKT
+ ... AUTHORITY["EPSG","4326"]]""") # OGC WKT
.. method:: __getitem__(target)
diff --git a/docs/ref/contrib/postgres/constraints.txt b/docs/ref/contrib/postgres/constraints.txt
index 29083c0b6b..b3d84e9bfd 100644
--- a/docs/ref/contrib/postgres/constraints.txt
+++ b/docs/ref/contrib/postgres/constraints.txt
@@ -105,7 +105,6 @@ are ``Deferrable.DEFERRED`` or ``Deferrable.IMMEDIATE``. For example::
from django.contrib.postgres.fields import RangeOperators
from django.db.models import Deferrable
-
ExclusionConstraint(
name="exclude_overlapping_deferred",
expressions=[