base_adresse: add hyperlinks in api_description (#38275)

This commit is contained in:
Valentin Deniaud 2019-12-09 15:10:26 +01:00
parent 34054655a3
commit 1e4155caa4
1 changed files with 7 additions and 4 deletions

View File

@ -34,10 +34,13 @@ class BaseAdresse(BaseResource):
category = _('Geographic information system')
api_description = _("The geocoding endpoints are a partial view of OpenStreetMap's "
"Nominatim own API; it currently doesn't support all parameters and "
"is limited to the JSON format. The cities, departments and regions "
"endpoints source data from French API Geo.")
api_description = _(
'The geocoding endpoints are a partial view of '
'<a href="https://wiki.openstreetmap.org/wiki/Nominatim">Nominatim</a> own API; '
'it currently doesn\'t support all parameters and is limited to the JSON format. '
'The cities, departments and regions endpoints source data from French '
'<a href=https://api.gouv.fr/api/api-geo.html>API Geo</a>.'
)
zipcode = models.CharField(
max_length=600,