allow extra characters after number in district endpoint (#59249)

This commit is contained in:
Frédéric Péters 2021-12-02 12:53:18 +01:00
parent 2b5ce76d15
commit 42fb61d83e
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ urlpatterns = [
),
url(r'^(?P<slug>[\w,-]+)/reverse$', AdresseView.as_view(), name='montpellier-sig-adresse'),
url(
r'^(?P<slug>[\w,-]+)/quartier/(?P<insee>\d+)/(?P<nom_rue>[\w ]+)/(?P<numero>\d+)/$',
r'^(?P<slug>[\w,-]+)/quartier/(?P<insee>\d+)/(?P<nom_rue>[\w ]+)/(?P<numero>\d+)\w*/$',
DistrictView.as_view(),
name='montpellier-sig-district',
),