update README
This commit is contained in:
parent
a0cda1a0d4
commit
74839aed9d
11
README
11
README
|
@ -10,6 +10,17 @@ Installation
|
||||||
- enable module:
|
- enable module:
|
||||||
PASSERELLE_APP_PASSERELLE_IMIO_LIEGE_LISRUE_ENABLED = True
|
PASSERELLE_APP_PASSERELLE_IMIO_LIEGE_LISRUE_ENABLED = True
|
||||||
|
|
||||||
|
Information
|
||||||
|
-----------
|
||||||
|
- V1 => V2
|
||||||
|
- jsonlisrue2 => jsonlgrue12
|
||||||
|
- jsonlisrue => jsonruebelgique
|
||||||
|
|
||||||
|
- PBLV
|
||||||
|
- jsonlisrue2 => lisruejsonserver
|
||||||
|
|
||||||
|
- statutVO : only available in jsonlgrue2com.
|
||||||
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
|
@ -76,8 +76,10 @@ class ImioLiegeLisrue(BaseResource):
|
||||||
# url += "jsonlgrue2com/" <== commissariat.
|
# url += "jsonlgrue2com/" <== commissariat.
|
||||||
else:
|
else:
|
||||||
if self.include_all_of_belgium:
|
if self.include_all_of_belgium:
|
||||||
|
# url += "jsonlisrue"
|
||||||
url += "jsonruebelgique/findByValue?indexName=RUE&startResult=0&maxResult=30&value="
|
url += "jsonruebelgique/findByValue?indexName=RUE&startResult=0&maxResult=30&value="
|
||||||
else:
|
else:
|
||||||
|
# url += "jsonlisrue2"
|
||||||
url += "jsonlgrue12/"
|
url += "jsonlgrue12/"
|
||||||
if q:
|
if q:
|
||||||
q = unicodedata.normalize("NFKD", request.GET["q"]).encode(
|
q = unicodedata.normalize("NFKD", request.GET["q"]).encode(
|
||||||
|
|
Loading…
Reference in New Issue