From 1e4155caa4f82418e0a0611fa793a03458c0f080 Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Mon, 9 Dec 2019 15:10:26 +0100 Subject: [PATCH] base_adresse: add hyperlinks in api_description (#38275) --- passerelle/apps/base_adresse/models.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/passerelle/apps/base_adresse/models.py b/passerelle/apps/base_adresse/models.py index d6adedcd..c6769abe 100644 --- a/passerelle/apps/base_adresse/models.py +++ b/passerelle/apps/base_adresse/models.py @@ -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 ' + '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.' + ) zipcode = models.CharField( max_length=600,