This commit is contained in:
Andras Schmelczer 2026-07-03 18:39:34 +01:00
parent 1ee796b282
commit ab688243d7
36 changed files with 307 additions and 135 deletions

View file

@ -143,8 +143,8 @@ def _has_dwellings(min_d: int | None, max_d: int | None) -> bool:
def _brownfield_url(entity) -> str | None:
"""Canonical per-site page on the Planning Data platform.
The register's own ``site-plan-url`` is unreliable many LPAs point every
row at a single generic register landing page so we link to the stable,
The register's own ``site-plan-url`` is unreliable (many LPAs point every
row at a single generic register landing page), so we link to the stable,
always-per-site entity page instead.
"""
entity_id = _to_int(entity)