From 977dae0bc89eb2147ca20e17185f75766a8dedeb Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Mon, 9 Dec 2019 15:10:26 +0100 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(-) diff --git a/passerelle/apps/base_adresse/models.py b/passerelle/apps/base_adresse/models.py index 1f3c6be2..23fe9264 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, -- 2.20.1