Projet

Général

Profil

0002-base_adresse-add-hyperlinks-in-api_description-38275.patch

Valentin Deniaud, 09 décembre 2019 15:12

Télécharger (1,48 ko)

Voir les différences:

Subject: [PATCH 2/2] base_adresse: add hyperlinks in api_description (#38275)

 passerelle/apps/base_adresse/models.py | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
passerelle/apps/base_adresse/models.py
34 34

  
35 35
    category = _('Geographic information system')
36 36

  
37
    api_description = _("The geocoding endpoints are a partial view of OpenStreetMap's "
38
                        "Nominatim own API; it currently doesn't support all parameters and "
39
                        "is limited to the JSON format. The cities, departments and regions "
40
                        "endpoints source data from French API Geo.")
37
    api_description = _(
38
        'The geocoding endpoints are a partial view of '
39
        '<a href="https://wiki.openstreetmap.org/wiki/Nominatim">Nominatim</a> own API; '
40
        'it currently doesn\'t support all parameters and is limited to the JSON format. '
41
        'The cities, departments and regions endpoints source data from French '
42
        '<a href=https://api.gouv.fr/api/api-geo.html>API Geo</a>.'
43
    )
41 44

  
42 45
    zipcode = models.CharField(
43 46
        max_length=600,
44
-