New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #200 #201
Fixes #200 #201
Conversation
@@ -177,7 +177,8 @@ def list_straten(request): | |||
request = set_http_caching(request, "adressenregister", "short") | |||
Gateway = request.adressenregister_gateway() | |||
gemeente_niscode = request.matchdict.get("niscode") | |||
straten = handle_gateway_response(Gateway.list_straten, gemeente_niscode) | |||
include_homoniem = request.matchdict.get("include_homoniem", False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
matchdict bevat denk ik enkel parameters die in de route zitten. Ik vermoed dat include homoniem eerder een queryparam zal zijn ?
matchdict
If a route has matched during this request, this attribute will be a dictionary containing the values matched by the URL pattern associated with the route. If a route has not matched during this request, the value of this attribute will be None. See The Matchdict.
"homoniem": obj.homoniem( | ||
include_homoniem=True if request.params.get("include_homoniem") else False | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include_homoniem is een parameter bij naam() ipv homoniem()
No description provided.