mirror of
https://github.com/django/django.git
synced 2025-09-10 11:09:12 +00:00
Replaced :doc: role usage with :ref: when appropriate in docs.
This commit is contained in:
parent
a9fe98d5bd
commit
ae03f81ffa
@ -55,7 +55,7 @@ particular:
|
|||||||
as they are filed.
|
as they are filed.
|
||||||
|
|
||||||
To understand the lifecycle of your ticket once you have created it, refer to
|
To understand the lifecycle of your ticket once you have created it, refer to
|
||||||
:doc:`triaging-tickets`.
|
:ref:`triage-workflow`.
|
||||||
|
|
||||||
Reporting user interface bugs
|
Reporting user interface bugs
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -61,8 +61,8 @@ the date, time and numbers formatting particularities of your locale. See
|
|||||||
The format files aren't managed by the use of Transifex. To change them, you
|
The format files aren't managed by the use of Transifex. To change them, you
|
||||||
must:
|
must:
|
||||||
|
|
||||||
* :doc:`Create a pull request<writing-code/submitting-patches>` against the
|
* :ref:`Create a pull request <patch-review-checklist>` against the Django Git
|
||||||
Django Git ``main`` branch, as for any code change.
|
``main`` branch, as for any code change.
|
||||||
|
|
||||||
* Open a ticket in Django's ticket system, set its ``Component`` field to
|
* Open a ticket in Django's ticket system, set its ``Component`` field to
|
||||||
``Translations``, set the "has patch" flag, and include the link to the pull
|
``Translations``, set the "has patch" flag, and include the link to the pull
|
||||||
|
@ -47,7 +47,7 @@ Keep old patches up-to-date
|
|||||||
Oftentimes the codebase will change between a patch being submitted and the
|
Oftentimes the codebase will change between a patch being submitted and the
|
||||||
time it gets reviewed. Make sure it still applies cleanly and functions as
|
time it gets reviewed. Make sure it still applies cleanly and functions as
|
||||||
expected. Updating a patch is both useful and important! See more on
|
expected. Updating a patch is both useful and important! See more on
|
||||||
:doc:`writing-code/submitting-patches`.
|
:ref:`patch-review-checklist`.
|
||||||
|
|
||||||
Write some documentation
|
Write some documentation
|
||||||
------------------------
|
------------------------
|
||||||
|
@ -29,11 +29,13 @@ confusion or disagreement.
|
|||||||
Django is a community project, and every contribution helps. We can't do this
|
Django is a community project, and every contribution helps. We can't do this
|
||||||
without **you**!
|
without **you**!
|
||||||
|
|
||||||
|
.. _triage-workflow:
|
||||||
|
|
||||||
Triage workflow
|
Triage workflow
|
||||||
===============
|
===============
|
||||||
|
|
||||||
Unfortunately, not all reports in the ticket tracker provide all the
|
Unfortunately, not all reports in the ticket tracker provide all the
|
||||||
:doc:`required details<bugs-and-features>`. A number of tickets have proposed
|
:ref:`required details <reporting-bugs>`. A number of tickets have proposed
|
||||||
solutions, but those don't necessarily meet all the requirements :ref:`adhering
|
solutions, but those don't necessarily meet all the requirements :ref:`adhering
|
||||||
to the guidelines for contributing <patch-style>`.
|
to the guidelines for contributing <patch-style>`.
|
||||||
|
|
||||||
@ -168,8 +170,8 @@ Has patch
|
|||||||
---------
|
---------
|
||||||
|
|
||||||
This means the ticket has an associated solution. These will be reviewed to
|
This means the ticket has an associated solution. These will be reviewed to
|
||||||
ensure they adhere to the :doc:`documented guidelines
|
ensure they adhere to the :ref:`documented guidelines
|
||||||
<writing-code/submitting-patches>`.
|
<patch-review-checklist>`.
|
||||||
|
|
||||||
The following three fields (Needs documentation, Needs tests,
|
The following three fields (Needs documentation, Needs tests,
|
||||||
Patch needs improvement) apply only if a patch has been supplied.
|
Patch needs improvement) apply only if a patch has been supplied.
|
||||||
|
@ -4,7 +4,7 @@ Working with Git and GitHub
|
|||||||
|
|
||||||
This section explains how the community can contribute code to Django via pull
|
This section explains how the community can contribute code to Django via pull
|
||||||
requests. If you're interested in how :ref:`mergers <mergers-team>` handle
|
requests. If you're interested in how :ref:`mergers <mergers-team>` handle
|
||||||
them, see :doc:`../committing-code`.
|
them, see :ref:`handling-pull-requests`.
|
||||||
|
|
||||||
Below, we are going to show how to create a GitHub pull request containing the
|
Below, we are going to show how to create a GitHub pull request containing the
|
||||||
changes for Trac ticket #xxxxx. By creating a fully-ready pull request, you
|
changes for Trac ticket #xxxxx. By creating a fully-ready pull request, you
|
||||||
|
@ -5,6 +5,11 @@ GDAL API
|
|||||||
.. module:: django.contrib.gis.gdal
|
.. module:: django.contrib.gis.gdal
|
||||||
:synopsis: GeoDjango's high-level interface to the GDAL library.
|
:synopsis: GeoDjango's high-level interface to the GDAL library.
|
||||||
|
|
||||||
|
.. _gdal-overview:
|
||||||
|
|
||||||
|
Overview
|
||||||
|
========
|
||||||
|
|
||||||
`GDAL`__ stands for **Geospatial Data Abstraction Library**,
|
`GDAL`__ stands for **Geospatial Data Abstraction Library**,
|
||||||
and is a veritable "Swiss army knife" of GIS data functionality. A subset
|
and is a veritable "Swiss army knife" of GIS data functionality. A subset
|
||||||
of GDAL is the `OGR`__ Simple Features Library, which specializes
|
of GDAL is the `OGR`__ Simple Features Library, which specializes
|
||||||
@ -24,9 +29,6 @@ to raster (image) data.
|
|||||||
__ https://gdal.org/
|
__ https://gdal.org/
|
||||||
__ https://gdal.org/user/vector_data_model.html
|
__ https://gdal.org/user/vector_data_model.html
|
||||||
|
|
||||||
Overview
|
|
||||||
========
|
|
||||||
|
|
||||||
.. _gdal_sample_data:
|
.. _gdal_sample_data:
|
||||||
|
|
||||||
Sample Data
|
Sample Data
|
||||||
@ -43,6 +45,8 @@ data sets that you can use for testing. You can download them here:
|
|||||||
$ wget https://raw.githubusercontent.com/django/django/main/tests/gis_tests/data/cities/cities.{shp,prj,shx,dbf}
|
$ wget https://raw.githubusercontent.com/django/django/main/tests/gis_tests/data/cities/cities.{shp,prj,shx,dbf}
|
||||||
$ wget https://raw.githubusercontent.com/django/django/main/tests/gis_tests/data/rasters/raster.tif
|
$ wget https://raw.githubusercontent.com/django/django/main/tests/gis_tests/data/rasters/raster.tif
|
||||||
|
|
||||||
|
.. _gdal_vector_data:
|
||||||
|
|
||||||
Vector Data Source Objects
|
Vector Data Source Objects
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
|
@ -5,6 +5,11 @@ Geolocation with GeoIP2
|
|||||||
.. module:: django.contrib.gis.geoip2
|
.. module:: django.contrib.gis.geoip2
|
||||||
:synopsis: Python interface for MaxMind's GeoIP2 databases.
|
:synopsis: Python interface for MaxMind's GeoIP2 databases.
|
||||||
|
|
||||||
|
.. _geoip2-overview:
|
||||||
|
|
||||||
|
Overview
|
||||||
|
========
|
||||||
|
|
||||||
The :class:`GeoIP2` object is a wrapper for the :pypi:`MaxMind geoip2 Python
|
The :class:`GeoIP2` object is a wrapper for the :pypi:`MaxMind geoip2 Python
|
||||||
library <geoip2>`. [#]_
|
library <geoip2>`. [#]_
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@ GEOS API
|
|||||||
.. module:: django.contrib.gis.geos
|
.. module:: django.contrib.gis.geos
|
||||||
:synopsis: GeoDjango's high-level interface to the GEOS library.
|
:synopsis: GeoDjango's high-level interface to the GEOS library.
|
||||||
|
|
||||||
|
.. _geos-overview:
|
||||||
|
|
||||||
Background
|
Background
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
@ -2,19 +2,24 @@
|
|||||||
Installing Geospatial libraries
|
Installing Geospatial libraries
|
||||||
===============================
|
===============================
|
||||||
|
|
||||||
|
.. _geolibs-list:
|
||||||
|
|
||||||
|
Geospatial libraries
|
||||||
|
====================
|
||||||
|
|
||||||
GeoDjango uses and/or provides interfaces for the following open source
|
GeoDjango uses and/or provides interfaces for the following open source
|
||||||
geospatial libraries:
|
geospatial libraries:
|
||||||
|
|
||||||
======================== ==================================== ================================ =======================================================
|
============================== ==================================== ================================ =======================================================
|
||||||
Program Description Required Supported Versions
|
Program Description Required Supported Versions
|
||||||
======================== ==================================== ================================ =======================================================
|
============================== ==================================== ================================ =======================================================
|
||||||
:doc:`GEOS <../geos>` Geometry Engine Open Source Yes 3.14, 3.13, 3.12, 3.11, 3.10, 3.9, 3.8
|
:ref:`GEOS <geos-overview>` Geometry Engine Open Source Yes 3.14, 3.13, 3.12, 3.11, 3.10, 3.9, 3.8
|
||||||
`PROJ`_ Cartographic Projections library Yes (PostgreSQL and SQLite only) 9.x, 8.x, 7.x, 6.x
|
`PROJ`_ Cartographic Projections library Yes (PostgreSQL and SQLite only) 9.x, 8.x, 7.x, 6.x
|
||||||
:doc:`GDAL <../gdal>` Geospatial Data Abstraction Library Yes 3.11, 3.10, 3.9, 3.8, 3.7, 3.6, 3.5, 3.4, 3.3, 3.2, 3.1
|
:ref:`GDAL <gdal-overview>` Geospatial Data Abstraction Library Yes 3.11, 3.10, 3.9, 3.8, 3.7, 3.6, 3.5, 3.4, 3.3, 3.2, 3.1
|
||||||
:doc:`GeoIP <../geoip2>` IP-based geolocation library No 2
|
:ref:`GeoIP <geoip2-overview>` IP-based geolocation library No 2
|
||||||
`PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 3.5, 3.4, 3.3, 3.2, 3.1
|
`PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 3.5, 3.4, 3.3, 3.2, 3.1
|
||||||
`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.1, 5.0, 4.3
|
`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.1, 5.0, 4.3
|
||||||
======================== ==================================== ================================ =======================================================
|
============================== ==================================== ================================ =======================================================
|
||||||
|
|
||||||
Note that older or more recent versions of these libraries *may* also work
|
Note that older or more recent versions of these libraries *may* also work
|
||||||
totally fine with GeoDjango. Your mileage may vary.
|
totally fine with GeoDjango. Your mileage may vary.
|
||||||
@ -235,7 +240,7 @@ GDAL
|
|||||||
|
|
||||||
`GDAL`__ is an excellent open source geospatial library that has support for
|
`GDAL`__ is an excellent open source geospatial library that has support for
|
||||||
reading most vector and raster spatial data formats. Currently, GeoDjango only
|
reading most vector and raster spatial data formats. Currently, GeoDjango only
|
||||||
supports :doc:`GDAL's vector data <../gdal>` capabilities [#]_.
|
supports :ref:`GDAL's vector data <gdal_vector_data>` capabilities [#]_.
|
||||||
:ref:`geosbuild` and :ref:`proj4` should be installed prior to building GDAL.
|
:ref:`geosbuild` and :ref:`proj4` should be installed prior to building GDAL.
|
||||||
|
|
||||||
First download the latest GDAL release version and untar the archive:
|
First download the latest GDAL release version and untar the archive:
|
||||||
|
@ -8,7 +8,7 @@ In general, GeoDjango installation requires:
|
|||||||
|
|
||||||
#. :ref:`Python and Django <django>`
|
#. :ref:`Python and Django <django>`
|
||||||
#. :ref:`spatial_database`
|
#. :ref:`spatial_database`
|
||||||
#. :doc:`geolibs`
|
#. :ref:`geolibs-list`
|
||||||
|
|
||||||
Details for each of the requirements and installation instructions
|
Details for each of the requirements and installation instructions
|
||||||
are provided in the sections below. In addition, platform-specific
|
are provided in the sections below. In addition, platform-specific
|
||||||
|
Loading…
x
Reference in New Issue
Block a user