Change country to pays

This commit is contained in:
Christophe Boulanger 2016-08-23 11:52:31 +02:00
parent 802e4ae1ec
commit 0df185f301
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class CountryWidget(forms.TextInput):
country_url = settings.IMIO_COUNTRY_URL
else:
passerelle_url = settings.KNOWN_SERVICES['passerelle'].values()[0]['url']
country_url = '%s/csvdatasource/country/data' % passerelle_url
country_url = '%s/csvdatasource/pays/data' % passerelle_url
attrs['data-autocomplete-url'] = country_url
super(forms.TextInput, self).__init__(attrs=attrs)