diff --git a/docs/ref/contrib/gis/model-api.txt b/docs/ref/contrib/gis/model-api.txt index bf16eb1e157a..421d5f4d3740 100644 --- a/docs/ref/contrib/gis/model-api.txt +++ b/docs/ref/contrib/gis/model-api.txt @@ -112,6 +112,10 @@ Sets the SRID [#fnogcsrid]_ (Spatial Reference System Identity) of the geometry field to the given value. Defaults to 4326 (also known as `WGS84`__, units are in degrees of longitude and latitude). +Setting the SRID to ``-1`` disables automatic SRID transformations when saving +geometries. The assigned geometry's SRID is set to ``-1``, discarding any +explicit SRID it had. + __ https://en.wikipedia.org/wiki/WGS84 .. _selecting-an-srid: diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index fe97a2ea79f5..cdab837328cc 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -4344,7 +4344,7 @@ attribute: >>> prefetch = Prefetch("choice_set", queryset=voted_choices, to_attr="voted_choices") >>> Question.objects.prefetch_related(prefetch).get().voted_choices - ]> + [] >>> Question.objects.prefetch_related(prefetch).get().choice_set.all() , , ]>