summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-02-12 09:09:46 -0500
committerTim Graham <timograham@gmail.com>2018-02-19 13:17:20 -0500
commit4b65fc807ae5b64c5cd1029f11f7c3f0ec67f03b (patch)
tree6e8c92eda3f6082f9fd85001a0e6ccab76c6c09b /docs
parent01448a97e075df08ed0f89c443ee35e649dfb630 (diff)
downloaddjango-4b65fc807ae5b64c5cd1029f11f7c3f0ec67f03b.tar.gz
[1.11.x] Corrected doc'd type of some parameters from string to str.
Backport of d63c00a4283ce85622ec00c6f668630078c75817 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/geos.txt2
-rw-r--r--docs/ref/urls.txt8
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt
index 63aa69729c..1c58628c5c 100644
--- a/docs/ref/contrib/gis/geos.txt
+++ b/docs/ref/contrib/gis/geos.txt
@@ -932,7 +932,7 @@ Geometry Factories
.. function:: fromstr(string, srid=None)
:param string: string that contains spatial data
- :type string: string
+ :type string: str
:param srid: spatial reference identifier
:type srid: int
:rtype: a :class:`GEOSGeometry` corresponding to the spatial data in the string
diff --git a/docs/ref/urls.txt b/docs/ref/urls.txt
index d1464da66d..cae83b9226 100644
--- a/docs/ref/urls.txt
+++ b/docs/ref/urls.txt
@@ -74,14 +74,14 @@ parameter is useful.
:arg module: URLconf module (or module name)
:arg namespace: Instance namespace for the URL entries being included
- :type namespace: string
+ :type namespace: str
:arg app_name: Application namespace for the URL entries being included
- :type app_name: string
+ :type app_name: str
:arg pattern_list: Iterable of :func:`django.conf.urls.url` instances
:arg app_namespace: Application namespace for the URL entries being included
- :type app_namespace: string
+ :type app_namespace: str
:arg instance_namespace: Instance namespace for the URL entries being included
- :type instance_namespace: string
+ :type instance_namespace: str
See :ref:`including-other-urlconfs` and :ref:`namespaces-and-include`.